From d1ddb73c0b326ee8d5b0efd489665022bb819338 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 14 Sep 2012 14:40:16 -0400 Subject: [PATCH] fix build of mod_freetdm --- src/include/switch_json.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/include/switch_json.h b/src/include/switch_json.h index c7baf9970d..b4ca229c39 100755 --- a/src/include/switch_json.h +++ b/src/include/switch_json.h @@ -79,17 +79,17 @@ SWITCH_DECLARE(cJSON *)cJSON_GetArrayItem(cJSON *array,int item); SWITCH_DECLARE(cJSON *)cJSON_GetObjectItem(cJSON *object,const char *string); /* For analysing failed parses. This returns a pointer to the parse error. You'll probably need to look a few chars back to make sense of it. Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds. */ -SWITCH_DECLARE(const char *)cJSON_GetErrorPtr(); +SWITCH_DECLARE(const char *)cJSON_GetErrorPtr(void); /* These calls create a cJSON item of the appropriate type. */ -SWITCH_DECLARE(cJSON *)cJSON_CreateNull(); -SWITCH_DECLARE(cJSON *)cJSON_CreateTrue(); -SWITCH_DECLARE(cJSON *)cJSON_CreateFalse(); +SWITCH_DECLARE(cJSON *)cJSON_CreateNull(void); +SWITCH_DECLARE(cJSON *)cJSON_CreateTrue(void); +SWITCH_DECLARE(cJSON *)cJSON_CreateFalse(void); SWITCH_DECLARE(cJSON *)cJSON_CreateBool(int b); SWITCH_DECLARE(cJSON *)cJSON_CreateNumber(double num); SWITCH_DECLARE(cJSON *)cJSON_CreateString(const char *string); -SWITCH_DECLARE(cJSON *)cJSON_CreateArray(); -SWITCH_DECLARE(cJSON *)cJSON_CreateObject(); +SWITCH_DECLARE(cJSON *)cJSON_CreateArray(void); +SWITCH_DECLARE(cJSON *)cJSON_CreateObject(void); /* These utilities create an Array of count items. */ SWITCH_DECLARE(cJSON *)cJSON_CreateIntArray(int *numbers,int count);