diff options
author | Nicola Spanti (RyDroid) <dev@nicola-spanti.info> | 2016-08-08 15:54:56 +0200 |
---|---|---|
committer | Nicola Spanti (RyDroid) <dev@nicola-spanti.info> | 2016-08-08 15:54:56 +0200 |
commit | e42bcbbada01199e00be7576fd2fda69f04b8bd7 (patch) | |
tree | c18adaa832eef0cb105cc5715a70d643bda6558a | |
parent | d1c85c569d11b8f014858982d5744b5139c52cc1 (diff) |
Very minor changes to C source code
-rw-r--r-- | example/jsondump.c | 2 | ||||
-rw-r--r-- | example/simple.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/example/jsondump.c b/example/jsondump.c index cf08c5ca5..4fb10fd51 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 de4488383..aeb9cf47d 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; } |