summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-12 13:09:48 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-12 13:09:48 -0600
commit5d99549aca261d40abf3e0d7180c2bddca3522b3 (patch)
tree8602dccf7672ec2af9de95c9b005fea2e9a37243 /nuttx/arch/sh
parent5fbbc21f13770cc35c3e61e3109c125d03f172eb (diff)
downloadnuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.tar.gz
nuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.tar.bz2
nuttx-5d99549aca261d40abf3e0d7180c2bddca3522b3.zip
Make sure that there is one space between while and condition
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r--nuttx/arch/sh/src/common/up_lowputs.c2
-rw-r--r--nuttx/arch/sh/src/common/up_puts.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/sh/src/common/up_lowputs.c b/nuttx/arch/sh/src/common/up_lowputs.c
index 88cc24068..627b22e0c 100644
--- a/nuttx/arch/sh/src/common/up_lowputs.c
+++ b/nuttx/arch/sh/src/common/up_lowputs.c
@@ -67,7 +67,7 @@
void up_lowputs(const char *str)
{
- while(*str)
+ while (*str)
{
up_lowputc(*str++);
}
diff --git a/nuttx/arch/sh/src/common/up_puts.c b/nuttx/arch/sh/src/common/up_puts.c
index e17338039..968e216d2 100644
--- a/nuttx/arch/sh/src/common/up_puts.c
+++ b/nuttx/arch/sh/src/common/up_puts.c
@@ -68,7 +68,7 @@
void up_puts(const char *str)
{
- while(*str)
+ while (*str)
{
up_putc(*str++);
}