diff --git a/json_object.h b/json_object.h index 29a408d..9f9ca40 100644 --- a/json_object.h +++ b/json_object.h @@ -27,6 +27,14 @@ extern "C" { extern const char *json_number_chars; extern const char *json_hex_chars; +/* CAW: added for ANSI C iteration correctness */ +struct json_object_iter +{ + char *key; + struct json_object *val; + struct lh_entry *entry; +}; + /* forward structure definitions */ typedef int boolean; diff --git a/json_object_private.h b/json_object_private.h index c7f604b..ceca58c 100644 --- a/json_object_private.h +++ b/json_object_private.h @@ -40,14 +40,6 @@ struct json_object } o; }; -/* CAW: added for ANSI C iteration correctness */ -struct json_object_iter -{ - char *key; - struct json_object *val; - struct lh_entry *entry; -}; - #ifdef __cplusplus } #endif