aboutsummaryrefslogtreecommitdiffstats
path: root/src/cklist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cklist.h')
-rw-r--r--src/cklist.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cklist.h b/src/cklist.h
index 9c883b5..e303ebc 100644
--- a/src/cklist.h
+++ b/src/cklist.h
@@ -13,7 +13,8 @@
* to edit when using ck edit and provides a backend to the ck list action.
*
* -------------------------------------------------------------------------- */
-
+#ifndef CKLIST_H
+#define CKLIST_H
typedef struct cklist_st cklist;
struct cklist_st {
int size;
@@ -29,7 +30,7 @@ extern void list_rewind(cklist *ckl);
extern int list_next(cklist *ckl);
extern char* list_get(cklist *ckl);
-extern void list_size(cklist *ckl);
+extern int list_size(cklist *ckl);
/* rewinds */
extern cklist* list_duplicate(cklist *ckl);
@@ -54,3 +55,4 @@ extern void list_print(cklist *ckl);
/* Deallocate resources */
extern void list_free(cklist *ckl);
+#endif /* CKLIST_H */