diff options
Diffstat (limited to 'src/base/list.h')
| -rw-r--r-- | src/base/list.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/base/list.h b/src/base/list.h index e532cb2..f63628e 100644 --- a/src/base/list.h +++ b/src/base/list.h @@ -1,15 +1,14 @@ #ifndef LIST_H -#define LIST_H -#define LIST_ALLOC_LIMIT 16 +# define LIST_H +# define LIST_ALLOC_LIMIT 16 -#include "main.h" +# include "main.h" -typedef struct list_str -{ - void **list; - int count; - int alloc; +typedef struct list_str { + void **list; + int count; + int alloc; } list_t; extern list_t *newList(); |