summaryrefslogtreecommitdiff
path: root/include/apr_json.h
diff options
context:
space:
mode:
authorrpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68>2018-07-09 09:06:29 +0000
committerrpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68>2018-07-09 09:06:29 +0000
commit2d428ec92b9ae172032d7a9b4a564c04b5de01ba (patch)
tree7c280a800d0a6c3aa88cd50c45d0419cf13f2c4a /include/apr_json.h
parenta764fd8708f71043fe3127226491195b6e4572bd (diff)
downloadlibapr-2d428ec92b9ae172032d7a9b4a564c04b5de01ba.tar.gz
* We cannot define the type of apr_json_object_t twice, here and in line 83.
As we need the typedef in line 83 for the structures above, don't typedef here again. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1835392 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_json.h')
-rw-r--r--include/apr_json.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/apr_json.h b/include/apr_json.h
index a1342c836..4c91a0375 100644
--- a/include/apr_json.h
+++ b/include/apr_json.h
@@ -153,12 +153,12 @@ typedef struct apr_json_kv_t {
*
* Use apr_json_object_create() to allocate.
*/
-typedef struct apr_json_object_t {
+struct apr_json_object_t {
/** The key value pairs in the object are in this list */
APR_RING_HEAD(apr_json_object_list_t, apr_json_kv_t) list;
/** JSON object */
apr_hash_t *hash;
-} apr_json_object_t;
+};
/**
* Allocate and return a apr_json_value_t structure.