diff options
| author | xHire <xhire@tuxportal.cz> | 2008-10-25 14:11:06 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2008-10-25 14:11:06 +0200 |
| commit | c8a9209d77a896bf49227e5aeccd54e91ccf29cc (patch) | |
| tree | 6b7367406ebbc6ce3ea5e0c8668c75f6fb3f6ae9 /src/base/list.h | |
| parent | cb9deba915dd7b114eeb76601eb1c8b07c1ba90f (diff) | |
Changed style of the code to the K&R standard
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(); |