From c2bcc926c5d34519bd17fe2d4744a9361dc41529 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Thu, 17 Jun 2010 23:13:32 -0500 Subject: [PATCH] fix line endings --- libs/esl/src/esl_json.c | 18 +++++++++--------- src/switch_json.c | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/libs/esl/src/esl_json.c b/libs/esl/src/esl_json.c index 128bf4bf60..5a994ae062 100644 --- a/libs/esl/src/esl_json.c +++ b/libs/esl/src/esl_json.c @@ -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) -{ - return(malloc(theSize)); -} - -static void glue_free(void *thePtr) -{ - free(thePtr); -} +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; diff --git a/src/switch_json.c b/src/switch_json.c index c07dfa8712..814f69644a 100644 --- a/src/switch_json.c +++ b/src/switch_json.c @@ -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) -{ - return(malloc(theSize)); -} - -static void glue_free(void *thePtr) -{ - free(thePtr); -} +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;