apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1835392 - /apr/apr/trunk/include/apr_json.h
Date Mon, 09 Jul 2018 09:06:29 GMT
Author: rpluem
Date: Mon Jul  9 09:06:29 2018
New Revision: 1835392

URL: http://svn.apache.org/viewvc?rev=1835392&view=rev
Log:
* 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.

Modified:
    apr/apr/trunk/include/apr_json.h

Modified: apr/apr/trunk/include/apr_json.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_json.h?rev=1835392&r1=1835391&r2=1835392&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_json.h (original)
+++ apr/apr/trunk/include/apr_json.h Mon Jul  9 09:06:29 2018
@@ -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.



Mime
View raw message