diff options
author | p37sitdu, corvid <devnull@localhost> | 2013-01-12 20:13:36 +0000 |
---|---|---|
committer | p37sitdu, corvid <devnull@localhost> | 2013-01-12 20:13:36 +0000 |
commit | 0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch) | |
tree | 225d4a6128cd2ddbc1f762b0355c986f12c13730 /src/klist.h | |
parent | 69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff) |
clean up struct typedefs
Diffstat (limited to 'src/klist.h')
-rw-r--r-- | src/klist.h | 11 |
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; /* |