summaryrefslogtreecommitdiff
path: root/include/apr_json.h
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2018-09-01 10:44:11 +0000
committerGraham Leggett <minfrin@apache.org>2018-09-01 10:44:11 +0000
commitf0cf7790b9594f068ba0879bb08bf29a44b1b5e7 (patch)
tree45da581f805bd9e8154b13f7c23bb1632a47f0bf /include/apr_json.h
parentb396fea59e5f3dbb0ff29b0ae1b7f472345113a3 (diff)
downloadapr-f0cf7790b9594f068ba0879bb08bf29a44b1b5e7.tar.gz
Axe the 'pool' arg from apr_json_array_add() since it's not needed.
(Reinstated from 1839755) git-svn-id: https://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.h5
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.