Make print_preallocated static.

Otherwise compilation failes due to missing prototypes.
This commit is contained in:
Stephan Gatzka 2016-11-28 20:21:38 +01:00
parent 3da18a2df9
commit 345d57e9e5

2
test.c
View File

@ -86,7 +86,7 @@ struct record
/* Create a bunch of objects as demonstration. */ /* Create a bunch of objects as demonstration. */
int print_preallocated(cJSON *root) static int print_preallocated(cJSON *root)
{ {
/* declarations */ /* declarations */
char *out = NULL; char *out = NULL;