From: Eric Hawicz Date: Sat, 29 Jul 2023 15:22:12 +0000 (-0400) Subject: Work around a somewhat misleading warning about "a function declaration without a... X-Git-Tag: json-c-0.17-20230812~10^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=469bc0e4bb4a33c05f03cbf7ea57ad1d0f78af82;p=thirdparty%2Fjson-c.git Work around a somewhat misleading warning about "a function declaration without a prototype is deprecated in all versions of C" in test1.c --- diff --git a/tests/test1.c b/tests/test1.c index 12097b21..b45f7527 100644 --- a/tests/test1.c +++ b/tests/test1.c @@ -190,7 +190,7 @@ void test_array_list_expand_internal(void) } void test_array_insert_idx(void); -void test_array_insert_idx() +void test_array_insert_idx(void) { json_object *my_array; struct json_object *jo1;