From f8d425f0ad35b5205d2ba4ae75f535df4432e839 Mon Sep 17 00:00:00 2001 From: Pierre-noel Bouteville Date: Tue, 12 Jul 2016 16:27:14 -0600 Subject: [PATCH] apps/netutils/cJSON: Eliminate some warnings --- include/netutils/cJSON.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/netutils/cJSON.h b/include/netutils/cJSON.h index 6fc8474d6..cd4b38f1c 100644 --- a/include/netutils/cJSON.h +++ b/include/netutils/cJSON.h @@ -154,18 +154,18 @@ cJSON *cJSON_GetObjectItem(cJSON *object, const char *string); * 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. */ -cJSON *cJSON_CreateNull(); -cJSON *cJSON_CreateTrue(); -cJSON *cJSON_CreateFalse(); +cJSON *cJSON_CreateNull(void); +cJSON *cJSON_CreateTrue(void); +cJSON *cJSON_CreateFalse(void); cJSON *cJSON_CreateBool(int b); cJSON *cJSON_CreateNumber(double num); cJSON *cJSON_CreateString(const char *string); -cJSON *cJSON_CreateArray(); -cJSON *cJSON_CreateObject(); +cJSON *cJSON_CreateArray(void); +cJSON *cJSON_CreateObject(void); /* These utilities create an Array of count items. */