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. */