From b3f14c22dbb29056c0d3c37bb9b2401ffdb7bc8f Mon Sep 17 00:00:00 2001 From: sealsrock12 Date: Sat, 7 Nov 2026 19:21:08 -0800 Subject: Use (void) for prototypes with no parameters Make them real prototypes, so projects with -Werror=strict-prototypes will not longer fail --- libcnary/include/node_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcnary/include') 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); -- cgit v1.1-32-gdbae