From fb7e3e1352aeca03909ae3720c8cae90fcd57186 Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 8 May 2018 16:44:05 +0300 Subject: user args an now cklist type --- src/cklist.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/cklist.h') 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 */ -- cgit v1.2.3