]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix build of mod_freetdm
authorMichael Jerris <mike@jerris.com>
Fri, 14 Sep 2012 18:40:16 +0000 (14:40 -0400)
committerMichael Jerris <mike@jerris.com>
Fri, 14 Sep 2012 18:40:16 +0000 (14:40 -0400)
src/include/switch_json.h

index c7baf9970d6cd35b42b6622f76ef4bed1727e32d..b4ca229c39a9a544f62807a4f913623270b634ca 100755 (executable)
@@ -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);