@@ -60,7 +60,7 @@ static const char *rec_input_json_str =
60
60
/* clang-format on */
61
61
62
62
/* Example from RFC */
63
- static void test_example_get ()
63
+ static void test_example_get (void )
64
64
{
65
65
int i ;
66
66
struct json_object * jo1 , * jo2 , * jo3 ;
@@ -126,7 +126,7 @@ static void test_example_get()
126
126
}
127
127
128
128
/* I'm not too happy with the RFC example to test the recusion of the json_pointer_get() function */
129
- static void test_recursion_get ()
129
+ static void test_recursion_get (void )
130
130
{
131
131
struct json_object * jo2 , * jo1 = json_tokener_parse (rec_input_json_str );
132
132
@@ -161,7 +161,7 @@ static void test_recursion_get()
161
161
json_object_put (jo1 );
162
162
}
163
163
164
- static void test_wrong_inputs_get ()
164
+ static void test_wrong_inputs_get (void )
165
165
{
166
166
struct json_object * jo2 , * jo1 = json_tokener_parse (input_json_str );
167
167
@@ -231,7 +231,7 @@ static void test_wrong_inputs_get()
231
231
json_object_put (jo1 );
232
232
}
233
233
234
- static void test_example_set ()
234
+ static void test_example_set (void )
235
235
{
236
236
struct json_object * jo2 , * jo1 = json_tokener_parse (input_json_str );
237
237
@@ -272,7 +272,7 @@ static void test_example_set()
272
272
json_object_put (jo1 );
273
273
}
274
274
275
- static void test_wrong_inputs_set ()
275
+ static void test_wrong_inputs_set (void )
276
276
{
277
277
struct json_object * jo2 , * jo1 = json_tokener_parse (input_json_str );
278
278
0 commit comments