mirror of
https://github.com/json-c/json-c.git
synced 2026-04-11 08:19:08 +08:00
* 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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user