diff options
author | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2018-09-01 10:44:11 +0000 |
---|---|---|
committer | minfrin <minfrin@13f79535-47bb-0310-9956-ffa450edef68> | 2018-09-01 10:44:11 +0000 |
commit | ca1bbdf6556b491e2a64c7de74c6109585c852e3 (patch) | |
tree | 45da581f805bd9e8154b13f7c23bb1632a47f0bf /include/apr_json.h | |
parent | 26f559a5ef9856e44a2a96ae68ec01f19fb8db49 (diff) | |
download | libapr-ca1bbdf6556b491e2a64c7de74c6109585c852e3.tar.gz |
Axe the 'pool' arg from apr_json_array_add() since it's not needed.
(Reinstated from 1839755)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1839817 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_json.h')
-rw-r--r-- | include/apr_json.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/apr_json.h b/include/apr_json.h index 06ec58ebf..c05f6704c 100644 --- a/include/apr_json.h +++ b/include/apr_json.h @@ -325,13 +325,12 @@ APR_DECLARE(apr_json_kv_t *) apr_json_object_next(apr_json_value_t *obj, * Add the value to the end of this array. * @param arr The JSON array. * @param val Value to add to the array. - * @param pool Pool to use. * @return APR_SUCCESS on success, APR_EINVAL if the array value is not * an APR_JSON_ARRAY. */ APR_DECLARE(apr_status_t) apr_json_array_add(apr_json_value_t *arr, - apr_json_value_t *val, apr_pool_t *pool) - __attribute__((nonnull(1, 2, 3))); + apr_json_value_t *val) + __attribute__((nonnull(1, 2))); /** * Look up the value associated with a key in a JSON object. |