summaryrefslogtreecommitdiff
path: root/nuttx/tools/cfgparser.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-28 18:48:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-28 18:48:11 +0000
commita63f8bb684d01a23bfe1ee85b1d7faf983b9d1ea (patch)
tree3f51cea039f16c0a9b0b8e05550fe9112d72d824 /nuttx/tools/cfgparser.c
parentf1b1e3ba11994bcbb0a1ddad9f8e686a6a9ae475 (diff)
downloadnuttx-a63f8bb684d01a23bfe1ee85b1d7faf983b9d1ea.tar.gz
nuttx-a63f8bb684d01a23bfe1ee85b1d7faf983b9d1ea.tar.bz2
nuttx-a63f8bb684d01a23bfe1ee85b1d7faf983b9d1ea.zip
NxWidgets/NxWM updates from Petteri Aimonen (Patches 0007-0013)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5689 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/cfgparser.c')
-rw-r--r--nuttx/tools/cfgparser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/tools/cfgparser.c b/nuttx/tools/cfgparser.c
index ac25bd26b..439dcb9d5 100644
--- a/nuttx/tools/cfgparser.c
+++ b/nuttx/tools/cfgparser.c
@@ -1,7 +1,7 @@
/****************************************************************************
* tools/cfgpaser.c
*
- * Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -62,7 +62,7 @@ char line[LINESIZE+1];
****************************************************************************/
/* Skip over any spaces */
-
+
static char *skip_space(char *ptr)
{
while (*ptr && isspace((int)*ptr)) ptr++;
@@ -164,7 +164,7 @@ static void parse_line(char *ptr, char **varname, char **varval)
/* The variable value should follow =, perhaps separated by some
* white space.
*/
-
+
ptr = skip_space(ptr + 1);
if (*ptr)
{
@@ -287,7 +287,7 @@ struct variable_s *find_variable(const char *varname, struct variable_s *list)
{
return list;
}
-
+
list = list->flink;
}