summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-13 08:21:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-13 08:21:18 -0600
commitdf4d1ee71b6dd23755e23b95dc88898f0635816c (patch)
treec01b2a197960e45013e4c091ef2004332986d908 /nuttx
parente25eae1f17c966060e1087bd332e530ca6667a8d (diff)
downloadpx4-nuttx-df4d1ee71b6dd23755e23b95dc88898f0635816c.tar.gz
px4-nuttx-df4d1ee71b6dd23755e23b95dc88898f0635816c.tar.bz2
px4-nuttx-df4d1ee71b6dd23755e23b95dc88898f0635816c.zip
Cosmetic clean-up in preparation for TCP write buffering change
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/include/nuttx/math.h9
-rw-r--r--nuttx/libc/spawn/lib_psa_dump.c2
2 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/include/nuttx/math.h b/nuttx/include/nuttx/math.h
index d4277b802..c01963cff 100644
--- a/nuttx/include/nuttx/math.h
+++ b/nuttx/include/nuttx/math.h
@@ -57,15 +57,15 @@
* The port or the Rhombus math library was contributed by Darcy Gong.
*/
-#elif defined CONFIG_LIBM
+#elif defined(CONFIG_LIBM)
/****************************************************************************
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
- *
+ *
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
@@ -120,7 +120,8 @@
****************************************************************************/
#if defined(__cplusplus)
-extern "C" {
+extern "C"
+{
#endif
/* General Functions ********************************************************/
diff --git a/nuttx/libc/spawn/lib_psa_dump.c b/nuttx/libc/spawn/lib_psa_dump.c
index 4687e8338..b949d230a 100644
--- a/nuttx/libc/spawn/lib_psa_dump.c
+++ b/nuttx/libc/spawn/lib_psa_dump.c
@@ -124,4 +124,4 @@ void posix_spawnattr_dump(posix_spawnattr_t *attr)
#endif
}
-#endif /* CONFIG_DEBUG */ \ No newline at end of file
+#endif /* CONFIG_DEBUG */