summaryrefslogtreecommitdiff
path: root/apps/netutils/json/cJSON.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
commit43ec94a665e13552402ff4f102e0f65f6792cf29 (patch)
tree05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/netutils/json/cJSON.c
parent70b6bb22af51defd713adfd452309f32f0e523aa (diff)
downloadnuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip
More trailing whilespace removal
Diffstat (limited to 'apps/netutils/json/cJSON.c')
-rw-r--r--apps/netutils/json/cJSON.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/netutils/json/cJSON.c b/apps/netutils/json/cJSON.c
index e5120ec42..322b30869 100644
--- a/apps/netutils/json/cJSON.c
+++ b/apps/netutils/json/cJSON.c
@@ -52,7 +52,7 @@
/****************************************************************************
* Private Data
****************************************************************************/
-
+
static const char *ep;
static const unsigned char firstByteMark[7] =
@@ -75,7 +75,7 @@ static char *print_object(cJSON *item, int depth, int fmt);
/****************************************************************************
* Private Functions
****************************************************************************/
-
+
static char *cJSON_strdup(const char *str)
{
size_t len;
@@ -168,7 +168,7 @@ static const char *parse_number(cJSON *item, const char *num)
do
{
n = (n * 10.0) + (*num++ - '0'), scale--;
- }
+ }
while (*num >= '0' && *num <= '9');
}
@@ -652,7 +652,7 @@ static const char *parse_array(cJSON *item, const char *value)
/* Skip any spacing, get the value. */
- value = skip(parse_value(child, skip(value)));
+ value = skip(parse_value(child, skip(value)));
if (!value)
{
return 0;
@@ -845,7 +845,7 @@ static const char *parse_object(cJSON *item, const char *value)
/* Skip any spacing, get the value. */
- value = skip(parse_value(child, skip(value + 1)));
+ value = skip(parse_value(child, skip(value + 1)));
if (!value)
{
return 0;
@@ -1089,7 +1089,7 @@ static cJSON *create_reference(cJSON *item)
/****************************************************************************
* Public Functions
****************************************************************************/
-
+
const char *cJSON_GetErrorPtr(void)
{
return ep;