From e42bcbbada01199e00be7576fd2fda69f04b8bd7 Mon Sep 17 00:00:00 2001 From: "Nicola Spanti (RyDroid)" Date: Mon, 8 Aug 2016 15:54:56 +0200 Subject: [PATCH] Very minor changes to C source code --- example/jsondump.c | 2 +- example/simple.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }