From: Renat Idrisov Date: Tue, 4 Jun 2019 21:05:40 +0000 (-0700) Subject: Setting the same name as at the implementation X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=514864ed64d27f2d13db2e6b0635dec08f6b8a55 Setting the same name as at the implementation --- diff --git a/ccan/json/json.h b/ccan/json/json.h index ed5255e6..dccb58aa 100644 --- a/ccan/json/json.h +++ b/ccan/json/json.h @@ -79,7 +79,7 @@ bool json_validate (const char *json); /*** Lookup and traversal ***/ JsonNode *json_find_element (JsonNode *array, int index); -JsonNode *json_find_member (JsonNode *object, const char *key); +JsonNode *json_find_member (JsonNode *object, const char *name); JsonNode *json_first_child (const JsonNode *node);