Commit ad5a00d8 authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Pekka Niemimaa
Browse files

netutils/json: fix no-argument function prototypes


Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@haltian.com>
parent bc0858aa
...@@ -163,18 +163,18 @@ cJSON *cJSON_GetObjectItem(cJSON *object, const char *string); ...@@ -163,18 +163,18 @@ cJSON *cJSON_GetObjectItem(cJSON *object, const char *string);
* Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds. * Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds.
*/ */
const char *cJSON_GetErrorPtr(); const char *cJSON_GetErrorPtr(void);
/* These calls create a cJSON item of the appropriate type. */ /* These calls create a cJSON item of the appropriate type. */
cJSON *cJSON_CreateNull(); cJSON *cJSON_CreateNull(void);
cJSON *cJSON_CreateTrue(); cJSON *cJSON_CreateTrue(void);
cJSON *cJSON_CreateFalse(); cJSON *cJSON_CreateFalse(void);
cJSON *cJSON_CreateBool(int b); cJSON *cJSON_CreateBool(int b);
cJSON *cJSON_CreateNumber(double num); cJSON *cJSON_CreateNumber(double num);
cJSON *cJSON_CreateString(const char *string); cJSON *cJSON_CreateString(const char *string);
cJSON *cJSON_CreateArray(); cJSON *cJSON_CreateArray(void);
cJSON *cJSON_CreateObject(); cJSON *cJSON_CreateObject(void);
cJSON *cJSON_New_Item(void); cJSON *cJSON_New_Item(void);
/* These utilities create an Array of count items. */ /* These utilities create an Array of count items. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment