json: remove unused json_get_arr parameter.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-08-31 17:19:40 +09:30
parent af8e4ed2b9
commit a4346b56f6
2 changed files with 3 additions and 5 deletions

View File

@@ -56,8 +56,7 @@ const jsmntok_t *json_get_member(const char *buffer, const jsmntok_t tok[],
const char *label);
/* Get index'th array member. */
const jsmntok_t *json_get_arr(const char *buffer, const jsmntok_t tok[],
size_t index);
const jsmntok_t *json_get_arr(const jsmntok_t tok[], size_t index);
/* Guide is a string with . for members, [] around indexes. */
const jsmntok_t *json_delve(const char *buffer,