diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-05-08 16:44:05 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-05-08 16:44:05 +0300 |
commit | fb7e3e1352aeca03909ae3720c8cae90fcd57186 (patch) | |
tree | 73ec2c99e3a8c578c1791e83a5ec74749a8316af /src/cklist.h | |
parent | 00faacfa1ba2af7dd6dbd441e0ede57029d92686 (diff) | |
download | ck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.tar.gz ck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.tar.bz2 ck-fb7e3e1352aeca03909ae3720c8cae90fcd57186.zip |
user args an now cklist type
Diffstat (limited to 'src/cklist.h')
-rw-r--r-- | src/cklist.h | 6 |
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 */ |