summaryrefslogtreecommitdiff
path: root/src/base/index.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/index.h
parentcb9deba915dd7b114eeb76601eb1c8b07c1ba90f (diff)
Changed style of the code to the K&R standard
Diffstat (limited to 'src/base/index.h')
-rw-r--r--src/base/index.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/base/index.h b/src/base/index.h
index 9126706..7f9cbea 100644
--- a/src/base/index.h
+++ b/src/base/index.h
@@ -1,15 +1,14 @@
#ifndef INDEX_H
-#define INDEX_H
+# define INDEX_H
-#include "main.h"
-#include "list.h"
+# include "main.h"
+# include "list.h"
-typedef struct index_item_struct
-{
- int key;
- void *data;
+typedef struct index_item_struct {
+ int key;
+ void *data;
} index_item_t;
extern list_t *newIndex();