mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-26 21:04:24 +08:00
Make print_preallocated static.
Otherwise compilation failes due to missing prototypes.
This commit is contained in:
parent
3da18a2df9
commit
345d57e9e5
2
test.c
2
test.c
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user