diff options
Diffstat (limited to 'libcnary')
| -rw-r--r-- | libcnary/include/node_list.h | 2 | ||||
| -rw-r--r-- | libcnary/node_list.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcnary/include/node_list.h b/libcnary/include/node_list.h index d566b00..9f02ca6 100644 --- a/libcnary/include/node_list.h +++ b/libcnary/include/node_list.h @@ -41,7 +41,7 @@ struct node_list { typedef struct node_list* node_list_t; void node_list_destroy(node_list_t list); -node_list_t node_list_create(); +node_list_t node_list_create(void); int node_list_add(node_list_t list, node_t node); int node_list_insert(node_list_t list, unsigned int index, node_t node); diff --git a/libcnary/node_list.c b/libcnary/node_list.c index 218c81d..6147345 100644 --- a/libcnary/node_list.c +++ b/libcnary/node_list.c @@ -33,7 +33,7 @@ void node_list_destroy(node_list_t list) free(list); } -node_list_t node_list_create() +node_list_t node_list_create(void) { node_list_t list = (node_list_t)calloc(1, sizeof(struct node_list)); if (list == NULL) { |
