aboutsummaryrefslogtreecommitdiff
path: root/src/klist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/klist.h')
-rw-r--r--src/klist.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/klist.h b/src/klist.h
index 53b2bc31..04e14d33 100644
--- a/src/klist.h
+++ b/src/klist.h
@@ -8,19 +8,16 @@
extern "C" {
#endif /* __cplusplus */
-typedef struct _KlistNode KlistNode_t;
-typedef struct _Klist Klist_t;
-
-struct _KlistNode {
+typedef struct {
int Key; /* primary key */
void *Data; /* data reference */
-};
+} KlistNode_t;
-struct _Klist {
+typedef struct {
Dlist *List;
int Clean; /* check flag */
int Counter; /* counter (for making keys) */
-};
+} Klist_t;
/*