diff --git a/example/jsondump.c b/example/jsondump.c index cf08c5c..4fb10fd 100644 --- a/example/jsondump.c +++ b/example/jsondump.c @@ -122,5 +122,5 @@ again: } } - return 0; + return EXIT_SUCCESS; } diff --git a/example/simple.c b/example/simple.c index de44883..aeb9cf4 100644 --- a/example/simple.c +++ b/example/simple.c @@ -8,7 +8,7 @@ * tokens is predictable. */ -const char *JSON_STRING = +static const char *JSON_STRING = "{\"user\": \"johndoe\", \"admin\": false, \"uid\": 1000,\n " "\"groups\": [\"users\", \"wheel\", \"audio\", \"video\"]}"; @@ -72,5 +72,5 @@ int main() { JSON_STRING + t[i].start); } } - return 0; + return EXIT_SUCCESS; }