]> git.ozlabs.org Git - ccan/commitdiff
Setting the same name as at the implementation
authorRenat Idrisov <renat.idrisov@fungible.com>
Tue, 4 Jun 2019 21:05:40 +0000 (14:05 -0700)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 8 Sep 2021 05:19:16 +0000 (14:49 +0930)
ccan/json/json.h

index ed5255e682dae1ee4e5fa86e6d718810b3623059..dccb58aa19b3d36d92c95bff409b7c40328d1a13 100644 (file)
@@ -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);