summaryrefslogtreecommitdiff
path: root/src/base/list.h
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2008-10-25 14:11:06 +0200
committerxHire <xhire@tuxportal.cz>2008-10-25 14:11:06 +0200
commitc8a9209d77a896bf49227e5aeccd54e91ccf29cc (patch)
tree6b7367406ebbc6ce3ea5e0c8668c75f6fb3f6ae9 /src/base/list.h
parentcb9deba915dd7b114eeb76601eb1c8b07c1ba90f (diff)
Changed style of the code to the K&R standard
Diffstat (limited to 'src/base/list.h')
-rw-r--r--src/base/list.h15
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();