mirror of
https://github.com/json-c/json-c.git
synced 2026-03-30 02:19:06 +08:00
Patch allows for json-c compile with -Werror and not fail due to
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations Geoffrey Young, geoff at modperlcookbook dot org git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@20 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
@@ -98,7 +98,7 @@ extern char* json_object_to_json_string(struct json_object *obj);
|
||||
/** Create a new empty object
|
||||
* @returns a json_object of type json_type_object
|
||||
*/
|
||||
extern struct json_object* json_object_new_object();
|
||||
extern struct json_object* json_object_new_object(void);
|
||||
|
||||
/** Get the hashtable of a json_object of type json_type_object
|
||||
* @param obj the json_object instance
|
||||
@@ -167,7 +167,7 @@ extern void json_object_object_del(struct json_object* obj, char *key);
|
||||
/** Create a new empty json_object of type json_type_array
|
||||
* @returns a json_object of type json_type_array
|
||||
*/
|
||||
extern struct json_object* json_object_new_array();
|
||||
extern struct json_object* json_object_new_array(void);
|
||||
|
||||
/** Get the arraylist of a json_object of type json_type_array
|
||||
* @param obj the json_object instance
|
||||
|
||||
Reference in New Issue
Block a user