json: remove two redundant json_print_array() prototypes
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 6 Jan 2020 15:04:47 +0000 (00:04 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 6 Jan 2020 15:08:07 +0000 (00:08 +0900)
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
json.c

diff --git a/json.c b/json.c
index 75212c85526544c0f1a9a236086e0fd7900f83ce..e2819a65ba6a3236f7a3dba8a506eca07ddfb0fc 100644 (file)
--- a/json.c
+++ b/json.c
@@ -230,7 +230,6 @@ int json_object_add_value_type(struct json_object *obj, const char *name, int ty
        return 0;
 }
 
-static void json_print_array(struct json_array *array, struct buf_output *);
 int json_array_add_value_type(struct json_array *array, int type, ...)
 {
        struct json_value *value;
@@ -296,8 +295,8 @@ static void json_print_level(int level, struct buf_output *out)
 }
 
 static void json_print_pair(struct json_pair *pair, struct buf_output *);
-static void json_print_array(struct json_array *array, struct buf_output *);
 static void json_print_value(struct json_value *value, struct buf_output *);
+
 void json_print_object(struct json_object *obj, struct buf_output *out)
 {
        int i;