diff options
| author | 2026-11-07 19:21:08 -0800 | |
|---|---|---|
| committer | 2026-11-16 01:51:36 +0100 | |
| commit | b3f14c22dbb29056c0d3c37bb9b2401ffdb7bc8f (patch) | |
| tree | bcbac67c3aacbd2980d018015040263a8e4b9b54 /libcnary | |
| parent | 11e0f8b487c01839704d9bfe47721cd7180fd4e4 (diff) | |
| download | libplist-b3f14c22dbb29056c0d3c37bb9b2401ffdb7bc8f.tar.gz libplist-b3f14c22dbb29056c0d3c37bb9b2401ffdb7bc8f.tar.bz2 | |
Make them real prototypes, so projects with -Werror=strict-prototypes
will not longer fail
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) { |
