From: Michael Jerris Date: Fri, 14 Sep 2012 18:40:16 +0000 (-0400) Subject: fix build of mod_freetdm X-Git-Tag: v1.2.3^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1ddb73c0b326ee8d5b0efd489665022bb819338;p=thirdparty%2Ffreeswitch.git fix build of mod_freetdm --- 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);