json: declare symbols to JSON parsing internals static (local) - json2tsv - JSON to TSV converter
 (HTM) git clone git://git.codemadness.org/json2tsv
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 69c080a4b190ea29c0dd1ae008c84cbd0712068f
 (DIR) parent 3877a663aff7b1a64e72717d5bb3f56b4ba46f99
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 20 Oct 2019 16:46:21 +0200
       
       json: declare symbols to JSON parsing internals static (local)
       
       Diffstat:
         M json.c                              |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/json.c b/json.c
       @@ -9,7 +9,7 @@
        
        #include "json.h"
        
       -int
       +static int
        codepointtoutf8(long r, char *s)
        {
                if (r == 0) {
       @@ -39,7 +39,7 @@ codepointtoutf8(long r, char *s)
                }
        }
        
       -int
       +static int
        hexdigit(int c)
        {
                if (c >= '0' && c <= '9')
       @@ -51,7 +51,7 @@ hexdigit(int c)
                return 0;
        }
        
       -int
       +static int
        capacity(char **value, size_t *sz, size_t cur, size_t inc)
        {
                size_t need, newsiz;