diff options
author | Michael Clark <michael@metaparadigm.com> | 2009-02-25 01:45:00 +0000 |
---|---|---|
committer | Michael Clark <michael@metaparadigm.com> | 2009-02-25 01:45:00 +0000 |
commit | e8de07880652465a3894124258796846832f0fff (patch) | |
tree | 26456611304c8876b83cbb11870436d0c4f03329 /json_object.c | |
parent | 75d0f12135e93af51253c248ca17da9c8f6bcda5 (diff) | |
download | json-c-e8de07880652465a3894124258796846832f0fff.tar.gz |
* Fixed warning reported by adding -Wstrict-prototypes
-Wold-style-definition to the compilatin flags.
Dotan Barak, dotanba at gmail dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@30 327403b1-1117-474d-bef2-5cb71233fd97
Diffstat (limited to 'json_object.c')
-rw-r--r-- | json_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/json_object.c b/json_object.c index 3ff4d64..a746859 100644 --- a/json_object.c +++ b/json_object.c @@ -237,7 +237,7 @@ static void json_object_object_delete(struct json_object* this) json_object_generic_delete(this); } -struct json_object* json_object_new_object() +struct json_object* json_object_new_object(void) { struct json_object *this = json_object_new(json_type_object); if(!this) return NULL; @@ -466,7 +466,7 @@ static void json_object_array_delete(struct json_object* this) json_object_generic_delete(this); } -struct json_object* json_object_new_array() +struct json_object* json_object_new_array(void) { struct json_object *this = json_object_new(json_type_array); if(!this) return NULL; |