* 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
This commit is contained in:
Michael Clark
2009-02-25 01:45:00 +00:00
parent 75d0f12135
commit e8de078806
5 changed files with 8 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ const char* json_tokener_errors[] = {
};
struct json_tokener* json_tokener_new()
struct json_tokener* json_tokener_new(void)
{
struct json_tokener *tok = calloc(1, sizeof(struct json_tokener));
tok->pb = printbuf_new();