FS-4618 --resolve

This commit is contained in:
Jeff Lenk 2012-09-14 07:38:03 -05:00
parent bf04f8b0c8
commit 2e9b4c23de
2 changed files with 6 additions and 6 deletions

View File

@ -275,8 +275,8 @@ ESL_DECLARE(cJSON *)cJSON_Parse(const char *value)
}
/* Render a cJSON item/entity/structure to text. */
char *cJSON_Print(cJSON *item) {return print_value(item,0,1);}
char *cJSON_PrintUnformatted(cJSON *item) {return print_value(item,0,0);}
ESL_DECLARE(char *) cJSON_Print(cJSON *item) {return print_value(item,0,1);}
ESL_DECLARE(char *) cJSON_PrintUnformatted(cJSON *item) {return print_value(item,0,0);}
/* Parser core - when encountering text, process appropriately. */
static const char *parse_value(cJSON *item,const char *value)

View File

@ -27,11 +27,11 @@
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <float.h>
#include <limits.h>
#include <ctype.h>
#include "switch_json.h"
#include "switch.h"
#include "switch_json.h"
#include <float.h>
static const char *ep;
@ -275,8 +275,8 @@ SWITCH_DECLARE(cJSON *)cJSON_Parse(const char *value)
}
/* Render a cJSON item/entity/structure to text. */
char *cJSON_Print(cJSON *item) {return print_value(item,0,1);}
char *cJSON_PrintUnformatted(cJSON *item) {return print_value(item,0,0);}
SWITCH_DECLARE(char *)cJSON_Print(cJSON *item) {return print_value(item,0,1);}
SWITCH_DECLARE(char *)cJSON_PrintUnformatted(cJSON *item) {return print_value(item,0,0);}
/* Parser core - when encountering text, process appropriately. */
static const char *parse_value(cJSON *item,const char *value)