Explorar o código

Make print_preallocated static.

Otherwise compilation failes due to missing prototypes.
Stephan Gatzka %!s(int64=8) %!d(string=hai) anos
pai
achega
345d57e9e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test.c

+ 1 - 1
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;