summaryrefslogtreecommitdiff
path: root/include/apr_json.h
diff options
context:
space:
mode:
authorminfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68>2018-08-02 16:54:54 +0000
committerminfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68>2018-08-02 16:54:54 +0000
commite2417d2f31d395abf45bd0275682ab0feeddfbfc (patch)
treeadf2c4e63337dce85035ecc0f0e9d7ea9a12e8a0 /include/apr_json.h
parentd0840ee3a3addb445dd7d694fed1ae95670068bc (diff)
downloadlibapr-e2417d2f31d395abf45bd0275682ab0feeddfbfc.tar.gz
Pass the apr_json_value_t into the apr_json_object_get() function to
be consistent with the rest of the API. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1837327 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_json.h')
-rw-r--r--include/apr_json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/apr_json.h b/include/apr_json.h
index 6850feccd..ea87a2793 100644
--- a/include/apr_json.h
+++ b/include/apr_json.h
@@ -265,7 +265,7 @@ APR_DECLARE(apr_status_t) apr_json_object_set(apr_json_value_t *obj,
* @return Returns NULL if the key is not present.
*/
APR_DECLARE(apr_json_kv_t *)
- apr_json_object_get(apr_json_object_t *obj, const char *key)
+ apr_json_object_get(apr_json_value_t *obj, const char *key)
__attribute__((nonnull(1, 2)));
/**