From 345d57e9e52f4a7d7f3324df64ae4423888b5f92 Mon Sep 17 00:00:00 2001 From: Stephan Gatzka Date: Mon, 28 Nov 2016 20:21:38 +0100 Subject: [PATCH] Make print_preallocated static. Otherwise compilation failes due to missing prototypes. --- test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.c b/test.c index 9b91ed5..2b204ea 100644 --- a/test.c +++ b/test.c @@ -86,7 +86,7 @@ struct record /* Create a bunch of objects as demonstration. */ -int print_preallocated(cJSON *root) +static int print_preallocated(cJSON *root) { /* declarations */ char *out = NULL;