test and test_utils: Make compliant with ANSI C

This commit is contained in:
Max Bruckner
2016-11-08 00:57:58 +07:00
parent 8ac1ba416e
commit 9e31049159
2 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ struct record
};
/* Create a bunch of objects as demonstration. */
void create_objects()
void create_objects(void)
{
/* declare a few. */
cJSON *root;
@@ -231,7 +231,7 @@ void create_objects()
free(out);
}
int main (int argc, const char *argv[])
int main(void)
{
/* a bunch of json: */
char text1[] =