apps/netutils/cJSON: Eliminate some warnings

This commit is contained in:
Pierre-noel Bouteville 2016-07-12 16:27:14 -06:00 committed by Gregory Nutt
parent 1d8ef23b88
commit f8d425f0ad

View File

@ -154,18 +154,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);
/* These utilities create an Array of count items. */ /* These utilities create an Array of count items. */