summaryrefslogtreecommitdiff
path: root/nuttx/libc/stdlib
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 14:32:20 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 14:32:20 -0600
commit3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4 (patch)
tree0f3ba3c03a8e8e5e5ddd7ed6658f9aeefd233228 /nuttx/libc/stdlib
parentb087a6d8732ffb869f3482c62b1b74e7b1869551 (diff)
downloadpx4-nuttx-3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4.tar.gz
px4-nuttx-3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4.tar.bz2
px4-nuttx-3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4.zip
More trailing whilespace removal
Diffstat (limited to 'nuttx/libc/stdlib')
-rw-r--r--nuttx/libc/stdlib/lib_checkbase.c4
-rw-r--r--nuttx/libc/stdlib/lib_itoa.c2
-rw-r--r--nuttx/libc/stdlib/lib_strtol.c2
-rw-r--r--nuttx/libc/stdlib/lib_strtoll.c2
-rw-r--r--nuttx/libc/stdlib/lib_strtoul.c2
-rw-r--r--nuttx/libc/stdlib/lib_strtoull.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/libc/stdlib/lib_checkbase.c b/nuttx/libc/stdlib/lib_checkbase.c
index 4583caf0f..83199bcfa 100644
--- a/nuttx/libc/stdlib/lib_checkbase.c
+++ b/nuttx/libc/stdlib/lib_checkbase.c
@@ -64,7 +64,7 @@
* *ptr points to the first, non-whitespace character in the string.
*
****************************************************************************/
-
+
int lib_checkbase(int base, FAR const char **pptr)
{
const char *ptr = *pptr;
@@ -88,7 +88,7 @@ int lib_checkbase(int base, FAR const char **pptr)
/* Check for hexadecimal */
- if ((*ptr == 'X' || *ptr == 'x') &&
+ if ((*ptr == 'X' || *ptr == 'x') &&
lib_isbasedigit(ptr[1], 16, NULL))
{
base = 16;
diff --git a/nuttx/libc/stdlib/lib_itoa.c b/nuttx/libc/stdlib/lib_itoa.c
index a1afeaaa8..553591c09 100644
--- a/nuttx/libc/stdlib/lib_itoa.c
+++ b/nuttx/libc/stdlib/lib_itoa.c
@@ -65,7 +65,7 @@ char *itoa(int val, char *str, int base)
*buf++ = digits[digit];
}
while (intval > 0);
-
+
if (val < 0)
{
*buf++ = '-';
diff --git a/nuttx/libc/stdlib/lib_strtol.c b/nuttx/libc/stdlib/lib_strtol.c
index 2ed17b8dd..dd17691a0 100644
--- a/nuttx/libc/stdlib/lib_strtol.c
+++ b/nuttx/libc/stdlib/lib_strtol.c
@@ -63,7 +63,7 @@
* Warning: does not check for integer overflow!
*
****************************************************************************/
-
+
long strtol(const char *nptr, char **endptr, int base)
{
unsigned long accum = 0;
diff --git a/nuttx/libc/stdlib/lib_strtoll.c b/nuttx/libc/stdlib/lib_strtoll.c
index 77ac82000..af4afb90d 100644
--- a/nuttx/libc/stdlib/lib_strtoll.c
+++ b/nuttx/libc/stdlib/lib_strtoll.c
@@ -65,7 +65,7 @@
* Warning: does not check for integer overflow!
*
****************************************************************************/
-
+
long long strtoll(const char *nptr, char **endptr, int base)
{
unsigned long long accum = 0;
diff --git a/nuttx/libc/stdlib/lib_strtoul.c b/nuttx/libc/stdlib/lib_strtoul.c
index 38c8209ba..c9b0915e6 100644
--- a/nuttx/libc/stdlib/lib_strtoul.c
+++ b/nuttx/libc/stdlib/lib_strtoul.c
@@ -62,7 +62,7 @@
* Warning: does not check for integer overflow!
*
****************************************************************************/
-
+
unsigned long strtoul(const char *nptr, char **endptr, int base)
{
unsigned long accum = 0;
diff --git a/nuttx/libc/stdlib/lib_strtoull.c b/nuttx/libc/stdlib/lib_strtoull.c
index 0a50a90be..7e961d733 100644
--- a/nuttx/libc/stdlib/lib_strtoull.c
+++ b/nuttx/libc/stdlib/lib_strtoull.c
@@ -63,7 +63,7 @@
* must be between 2 and 36 inclusive, or be the special value 0.
*
****************************************************************************/
-
+
unsigned long long strtoull(const char *nptr, char **endptr, int base)
{
unsigned long long accum = 0;