From afca52d96eb43e6ceec4e6976b1f90c367df27c9 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 16 Oct 2022 09:04:55 -0700 Subject: src: Fix build with clang 16 These are no longer supported in upcoming clang versions. warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 --- src/gib_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gib_hash.h') diff --git a/src/gib_hash.h b/src/gib_hash.h index 58506c8..125e280 100644 --- a/src/gib_hash.h +++ b/src/gib_hash.h @@ -55,7 +55,7 @@ gib_hash_node *gib_hash_node_new(char *key, void *data); void gib_hash_node_free(gib_hash_node *node); void gib_hash_node_free_and_data(gib_hash_node *node); -gib_hash *gib_hash_new(); +gib_hash *gib_hash_new(void); void gib_hash_free(gib_hash *hash); void gib_hash_free_and_data(gib_hash *hash); -- cgit v1.2.3