]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix line endings
authorJeff Lenk <jeff@jefflenk.com>
Fri, 18 Jun 2010 04:13:32 +0000 (23:13 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Fri, 18 Jun 2010 04:13:32 +0000 (23:13 -0500)
libs/esl/src/esl_json.c
src/switch_json.c

index 128bf4bf6018f3d6d1c807519fd5500f6bac8806..5a994ae0624637c381891d9d29ee496d72bbbb0d 100644 (file)
@@ -34,15 +34,15 @@ static int cJSON_strcasecmp(const char *s1,const char *s2)
        return tolower(*(const unsigned char *)s1) - tolower(*(const unsigned char *)s2);
 }
 
-static void *glue_malloc(size_t theSize) \r
-{ \r
-       return(malloc(theSize)); \r
-} \r
-\r
-static void glue_free(void *thePtr) \r
-{ \r
-       free(thePtr); \r
-} \r
+static void *glue_malloc(size_t theSize) 
+{ 
+       return(malloc(theSize)); 
+} 
+
+static void glue_free(void *thePtr) 
+{ 
+       free(thePtr); 
+} 
 
 static void *(*cJSON_malloc)(size_t sz) = glue_malloc;
 static void (*cJSON_free)(void *ptr) = glue_free;
index c07dfa8712a31b7caa101eda453ca4a385dc5aa2..814f69644a77fa665fb5ddf94fe09ad3012e36ef 100644 (file)
@@ -33,15 +33,15 @@ static int cJSON_strcasecmp(const char *s1,const char *s2)
        return tolower(*(const unsigned char *)s1) - tolower(*(const unsigned char *)s2);
 }
 
-static void *glue_malloc(size_t theSize) \r
-{ \r
-       return(malloc(theSize)); \r
-} \r
-\r
-static void glue_free(void *thePtr) \r
-{ \r
-       free(thePtr); \r
-} \r
+static void *glue_malloc(size_t theSize) 
+{ 
+       return(malloc(theSize)); 
+} 
+
+static void glue_free(void *thePtr) 
+{ 
+       free(thePtr); 
+} 
 
 static void *(*cJSON_malloc)(size_t sz) = glue_malloc;
 static void (*cJSON_free)(void *ptr) = glue_free;