summaryrefslogtreecommitdiff
path: root/nuttx/libc
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
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')
-rw-r--r--nuttx/libc/README.txt2
-rw-r--r--nuttx/libc/dirent/lib_readdirr.c2
-rw-r--r--nuttx/libc/fixedmath/lib_b16atan2.c2
-rw-r--r--nuttx/libc/math/lib_acos.c4
-rw-r--r--nuttx/libc/math/lib_acosf.c4
-rw-r--r--nuttx/libc/math/lib_acosl.c4
-rw-r--r--nuttx/libc/math/lib_asin.c4
-rw-r--r--nuttx/libc/math/lib_asinf.c4
-rw-r--r--nuttx/libc/math/lib_asinl.c4
-rw-r--r--nuttx/libc/math/lib_atan.c4
-rw-r--r--nuttx/libc/math/lib_atan2.c4
-rw-r--r--nuttx/libc/math/lib_atan2f.c4
-rw-r--r--nuttx/libc/math/lib_atan2l.c4
-rw-r--r--nuttx/libc/math/lib_atanf.c4
-rw-r--r--nuttx/libc/math/lib_atanl.c4
-rw-r--r--nuttx/libc/math/lib_ceil.c4
-rw-r--r--nuttx/libc/math/lib_ceilf.c4
-rw-r--r--nuttx/libc/math/lib_ceill.c4
-rw-r--r--nuttx/libc/math/lib_cos.c4
-rw-r--r--nuttx/libc/math/lib_cosf.c4
-rw-r--r--nuttx/libc/math/lib_cosh.c4
-rw-r--r--nuttx/libc/math/lib_coshf.c4
-rw-r--r--nuttx/libc/math/lib_coshl.c4
-rw-r--r--nuttx/libc/math/lib_cosl.c4
-rw-r--r--nuttx/libc/math/lib_exp.c4
-rw-r--r--nuttx/libc/math/lib_expf.c4
-rw-r--r--nuttx/libc/math/lib_expl.c4
-rw-r--r--nuttx/libc/math/lib_fabs.c4
-rw-r--r--nuttx/libc/math/lib_fabsf.c4
-rw-r--r--nuttx/libc/math/lib_fabsl.c4
-rw-r--r--nuttx/libc/math/lib_floor.c4
-rw-r--r--nuttx/libc/math/lib_floorf.c4
-rw-r--r--nuttx/libc/math/lib_floorl.c4
-rw-r--r--nuttx/libc/math/lib_fmod.c4
-rw-r--r--nuttx/libc/math/lib_fmodf.c4
-rw-r--r--nuttx/libc/math/lib_fmodl.c4
-rw-r--r--nuttx/libc/math/lib_frexp.c4
-rw-r--r--nuttx/libc/math/lib_frexpf.c4
-rw-r--r--nuttx/libc/math/lib_frexpl.c4
-rw-r--r--nuttx/libc/math/lib_ldexp.c4
-rw-r--r--nuttx/libc/math/lib_ldexpf.c4
-rw-r--r--nuttx/libc/math/lib_ldexpl.c4
-rw-r--r--nuttx/libc/math/lib_libexpi.c4
-rw-r--r--nuttx/libc/math/lib_libsqrtapprox.c4
-rw-r--r--nuttx/libc/math/lib_log.c4
-rw-r--r--nuttx/libc/math/lib_log10.c4
-rw-r--r--nuttx/libc/math/lib_log10f.c4
-rw-r--r--nuttx/libc/math/lib_log10l.c4
-rw-r--r--nuttx/libc/math/lib_log2.c4
-rw-r--r--nuttx/libc/math/lib_log2f.c4
-rw-r--r--nuttx/libc/math/lib_log2l.c4
-rw-r--r--nuttx/libc/math/lib_logf.c4
-rw-r--r--nuttx/libc/math/lib_logl.c4
-rw-r--r--nuttx/libc/math/lib_modf.c4
-rw-r--r--nuttx/libc/math/lib_modff.c4
-rw-r--r--nuttx/libc/math/lib_modfl.c4
-rw-r--r--nuttx/libc/math/lib_pow.c4
-rw-r--r--nuttx/libc/math/lib_powf.c4
-rw-r--r--nuttx/libc/math/lib_powl.c4
-rw-r--r--nuttx/libc/math/lib_round.c2
-rw-r--r--nuttx/libc/math/lib_roundf.c2
-rw-r--r--nuttx/libc/math/lib_roundl.c2
-rw-r--r--nuttx/libc/math/lib_sin.c4
-rw-r--r--nuttx/libc/math/lib_sinf.c4
-rw-r--r--nuttx/libc/math/lib_sinh.c4
-rw-r--r--nuttx/libc/math/lib_sinhf.c4
-rw-r--r--nuttx/libc/math/lib_sinhl.c4
-rw-r--r--nuttx/libc/math/lib_sinl.c4
-rw-r--r--nuttx/libc/math/lib_sqrt.c4
-rw-r--r--nuttx/libc/math/lib_sqrtf.c4
-rw-r--r--nuttx/libc/math/lib_sqrtl.c4
-rw-r--r--nuttx/libc/math/lib_tan.c4
-rw-r--r--nuttx/libc/math/lib_tanf.c4
-rw-r--r--nuttx/libc/math/lib_tanh.c4
-rw-r--r--nuttx/libc/math/lib_tanhf.c4
-rw-r--r--nuttx/libc/math/lib_tanhl.c4
-rw-r--r--nuttx/libc/math/lib_tanl.c4
-rw-r--r--nuttx/libc/misc/lib_crc32.c2
-rw-r--r--nuttx/libc/misc/lib_kbddecode.c2
-rw-r--r--nuttx/libc/misc/lib_kbdencode.c6
-rw-r--r--nuttx/libc/misc/lib_sendfile.c2
-rw-r--r--nuttx/libc/net/lib_inetaddr.c2
-rw-r--r--nuttx/libc/net/lib_inetntop.c2
-rw-r--r--nuttx/libc/pthread/pthread_attrinit.c2
-rw-r--r--nuttx/libc/pthread/pthread_condattrinit.c2
-rw-r--r--nuttx/libc/queue/dq_rem.c4
-rw-r--r--nuttx/libc/spawn/lib_psfa_addopen.c2
-rw-r--r--nuttx/libc/spawn/lib_psfa_dump.c4
-rw-r--r--nuttx/libc/stdio/lib_avsprintf.c2
-rw-r--r--nuttx/libc/stdio/lib_fgetpos.c2
-rw-r--r--nuttx/libc/stdio/lib_fsetpos.c2
-rw-r--r--nuttx/libc/stdio/lib_libvsprintf.c4
-rw-r--r--nuttx/libc/stdio/lib_perror.c2
-rw-r--r--nuttx/libc/stdio/lib_stdinstream.c2
-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
-rw-r--r--nuttx/libc/string/lib_strpbrk.c2
-rw-r--r--nuttx/libc/string/lib_strtok.c2
-rw-r--r--nuttx/libc/string/lib_strtokr.c2
-rw-r--r--nuttx/libc/string/lib_vikmemcpy.c12
-rw-r--r--nuttx/libc/termios/lib_cfgetspeed.c2
-rw-r--r--nuttx/libc/termios/lib_cfsetspeed.c4
-rw-r--r--nuttx/libc/termios/lib_tcgetattr.c4
-rw-r--r--nuttx/libc/termios/lib_tcsetattr.c8
-rw-r--r--nuttx/libc/time/lib_calendar2utc.c4
-rw-r--r--nuttx/libc/time/lib_gmtimer.c2
-rw-r--r--nuttx/libc/time/lib_time.c2
-rw-r--r--nuttx/libc/unistd/lib_getcwd.c2
-rw-r--r--nuttx/libc/wqueue/work_thread.c2
113 files changed, 201 insertions, 201 deletions
diff --git a/nuttx/libc/README.txt b/nuttx/libc/README.txt
index 8b1ef9941..3997b6b3c 100644
--- a/nuttx/libc/README.txt
+++ b/nuttx/libc/README.txt
@@ -70,7 +70,7 @@ Each type field has a format as follows:
type name:
For all simpler types
- formal type | actual type:
+ formal type | actual type:
For array types where the form of the formal (eg. int parm[2])
differs from the type of actual passed parameter (eg. int*). This
is necessary because you cannot do simple casts to array types.
diff --git a/nuttx/libc/dirent/lib_readdirr.c b/nuttx/libc/dirent/lib_readdirr.c
index 93c99ac28..ffbe91056 100644
--- a/nuttx/libc/dirent/lib_readdirr.c
+++ b/nuttx/libc/dirent/lib_readdirr.c
@@ -69,7 +69,7 @@
* enough for a dirent with an array of char d_name
* members containing at least {NAME_MAX}+1 elements.
* result -- Upon successful return, the pointer returned
- * at *result shall have the same value as the
+ * at *result shall have the same value as the
* argument entry. Upon reaching the end of the directory
* stream, this pointer shall have the value NULL.
*
diff --git a/nuttx/libc/fixedmath/lib_b16atan2.c b/nuttx/libc/fixedmath/lib_b16atan2.c
index 443ab7be3..f0a00f8df 100644
--- a/nuttx/libc/fixedmath/lib_b16atan2.c
+++ b/nuttx/libc/fixedmath/lib_b16atan2.c
@@ -91,7 +91,7 @@ b16_t b16atan2(b16_t y, b16_t x)
t2 = ub16inv(t0);
t2 = b16mulb16(t1, t2);
- t3 = b16mulb16(t2, t2);
+ t3 = b16mulb16(t2, t2);
t0 = - B16_C1;
t0 = b16mulb16(t0, t3) + B16_C2;
t0 = b16mulb16(t0, t3) - B16_C3;
diff --git a/nuttx/libc/math/lib_acos.c b/nuttx/libc/math/lib_acos.c
index 147003237..c1da957f9 100644
--- a/nuttx/libc/math/lib_acos.c
+++ b/nuttx/libc/math/lib_acos.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_acosf.c b/nuttx/libc/math/lib_acosf.c
index 447b2767f..e75325dc0 100644
--- a/nuttx/libc/math/lib_acosf.c
+++ b/nuttx/libc/math/lib_acosf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_acosl.c b/nuttx/libc/math/lib_acosl.c
index a0f226238..588d7ed58 100644
--- a/nuttx/libc/math/lib_acosl.c
+++ b/nuttx/libc/math/lib_acosl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_asin.c b/nuttx/libc/math/lib_asin.c
index d9941a7e5..9518fb69c 100644
--- a/nuttx/libc/math/lib_asin.c
+++ b/nuttx/libc/math/lib_asin.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_asinf.c b/nuttx/libc/math/lib_asinf.c
index 57e518acb..1da555ab8 100644
--- a/nuttx/libc/math/lib_asinf.c
+++ b/nuttx/libc/math/lib_asinf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_asinl.c b/nuttx/libc/math/lib_asinl.c
index 19f284e53..f51e7deb3 100644
--- a/nuttx/libc/math/lib_asinl.c
+++ b/nuttx/libc/math/lib_asinl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_atan.c b/nuttx/libc/math/lib_atan.c
index 44d68ece2..daf5b2603 100644
--- a/nuttx/libc/math/lib_atan.c
+++ b/nuttx/libc/math/lib_atan.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_atan2.c b/nuttx/libc/math/lib_atan2.c
index 6d7d2ad48..f78484d39 100644
--- a/nuttx/libc/math/lib_atan2.c
+++ b/nuttx/libc/math/lib_atan2.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_atan2f.c b/nuttx/libc/math/lib_atan2f.c
index 7ff9af130..f3a92ff53 100644
--- a/nuttx/libc/math/lib_atan2f.c
+++ b/nuttx/libc/math/lib_atan2f.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_atan2l.c b/nuttx/libc/math/lib_atan2l.c
index 48bfd06f3..e2a576e58 100644
--- a/nuttx/libc/math/lib_atan2l.c
+++ b/nuttx/libc/math/lib_atan2l.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_atanf.c b/nuttx/libc/math/lib_atanf.c
index a84605787..2f3638d17 100644
--- a/nuttx/libc/math/lib_atanf.c
+++ b/nuttx/libc/math/lib_atanf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_atanl.c b/nuttx/libc/math/lib_atanl.c
index 752d49307..48dcb03e2 100644
--- a/nuttx/libc/math/lib_atanl.c
+++ b/nuttx/libc/math/lib_atanl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_ceil.c b/nuttx/libc/math/lib_ceil.c
index 3c6678dc1..73e4b8ee4 100644
--- a/nuttx/libc/math/lib_ceil.c
+++ b/nuttx/libc/math/lib_ceil.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_ceilf.c b/nuttx/libc/math/lib_ceilf.c
index afbe2cf13..850e762f2 100644
--- a/nuttx/libc/math/lib_ceilf.c
+++ b/nuttx/libc/math/lib_ceilf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_ceill.c b/nuttx/libc/math/lib_ceill.c
index 757016b53..3e15ee302 100644
--- a/nuttx/libc/math/lib_ceill.c
+++ b/nuttx/libc/math/lib_ceill.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_cos.c b/nuttx/libc/math/lib_cos.c
index 4b4e1a20b..cfa0a9a4b 100644
--- a/nuttx/libc/math/lib_cos.c
+++ b/nuttx/libc/math/lib_cos.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_cosf.c b/nuttx/libc/math/lib_cosf.c
index d9ac951f6..2e23419a1 100644
--- a/nuttx/libc/math/lib_cosf.c
+++ b/nuttx/libc/math/lib_cosf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_cosh.c b/nuttx/libc/math/lib_cosh.c
index 3246ea5f9..40d9ce0c1 100644
--- a/nuttx/libc/math/lib_cosh.c
+++ b/nuttx/libc/math/lib_cosh.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_coshf.c b/nuttx/libc/math/lib_coshf.c
index f0c28ab2e..9a3f72853 100644
--- a/nuttx/libc/math/lib_coshf.c
+++ b/nuttx/libc/math/lib_coshf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_coshl.c b/nuttx/libc/math/lib_coshl.c
index 957ec61a7..b7e58ec7e 100644
--- a/nuttx/libc/math/lib_coshl.c
+++ b/nuttx/libc/math/lib_coshl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_cosl.c b/nuttx/libc/math/lib_cosl.c
index 972d4aa9d..f328b994a 100644
--- a/nuttx/libc/math/lib_cosl.c
+++ b/nuttx/libc/math/lib_cosl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_exp.c b/nuttx/libc/math/lib_exp.c
index 62494251d..c528d375b 100644
--- a/nuttx/libc/math/lib_exp.c
+++ b/nuttx/libc/math/lib_exp.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_expf.c b/nuttx/libc/math/lib_expf.c
index 3e43c54a6..8e223049c 100644
--- a/nuttx/libc/math/lib_expf.c
+++ b/nuttx/libc/math/lib_expf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_expl.c b/nuttx/libc/math/lib_expl.c
index 231faa35f..a5c1d6f53 100644
--- a/nuttx/libc/math/lib_expl.c
+++ b/nuttx/libc/math/lib_expl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_fabs.c b/nuttx/libc/math/lib_fabs.c
index 774755087..635be443f 100644
--- a/nuttx/libc/math/lib_fabs.c
+++ b/nuttx/libc/math/lib_fabs.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_fabsf.c b/nuttx/libc/math/lib_fabsf.c
index 4c8ebae62..629846af3 100644
--- a/nuttx/libc/math/lib_fabsf.c
+++ b/nuttx/libc/math/lib_fabsf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_fabsl.c b/nuttx/libc/math/lib_fabsl.c
index 96ac7d5db..0ce73a674 100644
--- a/nuttx/libc/math/lib_fabsl.c
+++ b/nuttx/libc/math/lib_fabsl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_floor.c b/nuttx/libc/math/lib_floor.c
index 3330607ce..ba6278239 100644
--- a/nuttx/libc/math/lib_floor.c
+++ b/nuttx/libc/math/lib_floor.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_floorf.c b/nuttx/libc/math/lib_floorf.c
index 81483d4c9..63a2fa722 100644
--- a/nuttx/libc/math/lib_floorf.c
+++ b/nuttx/libc/math/lib_floorf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_floorl.c b/nuttx/libc/math/lib_floorl.c
index 0d9ec43b4..28c7e0029 100644
--- a/nuttx/libc/math/lib_floorl.c
+++ b/nuttx/libc/math/lib_floorl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_fmod.c b/nuttx/libc/math/lib_fmod.c
index c66210cde..1bdf3134d 100644
--- a/nuttx/libc/math/lib_fmod.c
+++ b/nuttx/libc/math/lib_fmod.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_fmodf.c b/nuttx/libc/math/lib_fmodf.c
index d70bb791c..ee1b9070c 100644
--- a/nuttx/libc/math/lib_fmodf.c
+++ b/nuttx/libc/math/lib_fmodf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_fmodl.c b/nuttx/libc/math/lib_fmodl.c
index 1299bf6e8..c5b14e859 100644
--- a/nuttx/libc/math/lib_fmodl.c
+++ b/nuttx/libc/math/lib_fmodl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_frexp.c b/nuttx/libc/math/lib_frexp.c
index b9576dfd4..3319a6bf3 100644
--- a/nuttx/libc/math/lib_frexp.c
+++ b/nuttx/libc/math/lib_frexp.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_frexpf.c b/nuttx/libc/math/lib_frexpf.c
index d93ffb173..9cab980fb 100644
--- a/nuttx/libc/math/lib_frexpf.c
+++ b/nuttx/libc/math/lib_frexpf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_frexpl.c b/nuttx/libc/math/lib_frexpl.c
index 90993b137..627f0e0b5 100644
--- a/nuttx/libc/math/lib_frexpl.c
+++ b/nuttx/libc/math/lib_frexpl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_ldexp.c b/nuttx/libc/math/lib_ldexp.c
index 9b74d53d7..1d6eded8a 100644
--- a/nuttx/libc/math/lib_ldexp.c
+++ b/nuttx/libc/math/lib_ldexp.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_ldexpf.c b/nuttx/libc/math/lib_ldexpf.c
index f3aaf555b..e1500d77e 100644
--- a/nuttx/libc/math/lib_ldexpf.c
+++ b/nuttx/libc/math/lib_ldexpf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_ldexpl.c b/nuttx/libc/math/lib_ldexpl.c
index 29764aaba..cf12370e0 100644
--- a/nuttx/libc/math/lib_ldexpl.c
+++ b/nuttx/libc/math/lib_ldexpl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_libexpi.c b/nuttx/libc/math/lib_libexpi.c
index 33ba537b1..9abc30274 100644
--- a/nuttx/libc/math/lib_libexpi.c
+++ b/nuttx/libc/math/lib_libexpi.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_libsqrtapprox.c b/nuttx/libc/math/lib_libsqrtapprox.c
index b6a9b0d54..a153f6ed9 100644
--- a/nuttx/libc/math/lib_libsqrtapprox.c
+++ b/nuttx/libc/math/lib_libsqrtapprox.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_log.c b/nuttx/libc/math/lib_log.c
index 7156f6b41..764726bae 100644
--- a/nuttx/libc/math/lib_log.c
+++ b/nuttx/libc/math/lib_log.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_log10.c b/nuttx/libc/math/lib_log10.c
index 9daa91492..321b53f20 100644
--- a/nuttx/libc/math/lib_log10.c
+++ b/nuttx/libc/math/lib_log10.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_log10f.c b/nuttx/libc/math/lib_log10f.c
index 778daedd5..3f4ba1328 100644
--- a/nuttx/libc/math/lib_log10f.c
+++ b/nuttx/libc/math/lib_log10f.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_log10l.c b/nuttx/libc/math/lib_log10l.c
index efbeb721b..713e007de 100644
--- a/nuttx/libc/math/lib_log10l.c
+++ b/nuttx/libc/math/lib_log10l.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_log2.c b/nuttx/libc/math/lib_log2.c
index 4da39acdc..e929b70cc 100644
--- a/nuttx/libc/math/lib_log2.c
+++ b/nuttx/libc/math/lib_log2.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_log2f.c b/nuttx/libc/math/lib_log2f.c
index f514e5a9e..58d291f6c 100644
--- a/nuttx/libc/math/lib_log2f.c
+++ b/nuttx/libc/math/lib_log2f.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_log2l.c b/nuttx/libc/math/lib_log2l.c
index 21e80a930..e130fe6c8 100644
--- a/nuttx/libc/math/lib_log2l.c
+++ b/nuttx/libc/math/lib_log2l.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_logf.c b/nuttx/libc/math/lib_logf.c
index 3815fef84..cc4f850d0 100644
--- a/nuttx/libc/math/lib_logf.c
+++ b/nuttx/libc/math/lib_logf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_logl.c b/nuttx/libc/math/lib_logl.c
index 612816011..9426a506a 100644
--- a/nuttx/libc/math/lib_logl.c
+++ b/nuttx/libc/math/lib_logl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_modf.c b/nuttx/libc/math/lib_modf.c
index f3f25f6fb..eb56e9c0e 100644
--- a/nuttx/libc/math/lib_modf.c
+++ b/nuttx/libc/math/lib_modf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_modff.c b/nuttx/libc/math/lib_modff.c
index 28d3a3ae0..81b799253 100644
--- a/nuttx/libc/math/lib_modff.c
+++ b/nuttx/libc/math/lib_modff.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_modfl.c b/nuttx/libc/math/lib_modfl.c
index 77bba0e0c..f4c30ae05 100644
--- a/nuttx/libc/math/lib_modfl.c
+++ b/nuttx/libc/math/lib_modfl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_pow.c b/nuttx/libc/math/lib_pow.c
index a19d491fa..f8fe18b5e 100644
--- a/nuttx/libc/math/lib_pow.c
+++ b/nuttx/libc/math/lib_pow.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_powf.c b/nuttx/libc/math/lib_powf.c
index 570904898..1797324d4 100644
--- a/nuttx/libc/math/lib_powf.c
+++ b/nuttx/libc/math/lib_powf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_powl.c b/nuttx/libc/math/lib_powl.c
index 81438217c..7d943c58a 100644
--- a/nuttx/libc/math/lib_powl.c
+++ b/nuttx/libc/math/lib_powl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_round.c b/nuttx/libc/math/lib_round.c
index 6191cee5b..1cf8ba43b 100644
--- a/nuttx/libc/math/lib_round.c
+++ b/nuttx/libc/math/lib_round.c
@@ -29,7 +29,7 @@ double round(double x)
{
x -= 1.0;
}
-
+
if (x >= 0.0 && f >= 0.5)
{
x += 1.0;
diff --git a/nuttx/libc/math/lib_roundf.c b/nuttx/libc/math/lib_roundf.c
index 145cf3df6..b4c0050c0 100644
--- a/nuttx/libc/math/lib_roundf.c
+++ b/nuttx/libc/math/lib_roundf.c
@@ -28,7 +28,7 @@ float roundf(float x)
{
x -= 1.0f;
}
-
+
if (x >= 0.0f && f >= 0.5f)
{
x += 1.0f;
diff --git a/nuttx/libc/math/lib_roundl.c b/nuttx/libc/math/lib_roundl.c
index b2ddba670..b75bb61f5 100644
--- a/nuttx/libc/math/lib_roundl.c
+++ b/nuttx/libc/math/lib_roundl.c
@@ -29,7 +29,7 @@ long double roundl(long double x)
{
x -= 1.0;
}
-
+
if (x >= 0.0 && f >= 0.5)
{
x += 1.0;
diff --git a/nuttx/libc/math/lib_sin.c b/nuttx/libc/math/lib_sin.c
index e005d98cb..c4950426b 100644
--- a/nuttx/libc/math/lib_sin.c
+++ b/nuttx/libc/math/lib_sin.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_sinf.c b/nuttx/libc/math/lib_sinf.c
index 9e493d8ef..680debcf2 100644
--- a/nuttx/libc/math/lib_sinf.c
+++ b/nuttx/libc/math/lib_sinf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_sinh.c b/nuttx/libc/math/lib_sinh.c
index 0c3e2d11d..da79e7cfd 100644
--- a/nuttx/libc/math/lib_sinh.c
+++ b/nuttx/libc/math/lib_sinh.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_sinhf.c b/nuttx/libc/math/lib_sinhf.c
index e9d198440..b7fc5af13 100644
--- a/nuttx/libc/math/lib_sinhf.c
+++ b/nuttx/libc/math/lib_sinhf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_sinhl.c b/nuttx/libc/math/lib_sinhl.c
index a1bcad81e..b6ee9764e 100644
--- a/nuttx/libc/math/lib_sinhl.c
+++ b/nuttx/libc/math/lib_sinhl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_sinl.c b/nuttx/libc/math/lib_sinl.c
index 6ed539a39..7c83496e7 100644
--- a/nuttx/libc/math/lib_sinl.c
+++ b/nuttx/libc/math/lib_sinl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_sqrt.c b/nuttx/libc/math/lib_sqrt.c
index dbab598bc..9190ac42b 100644
--- a/nuttx/libc/math/lib_sqrt.c
+++ b/nuttx/libc/math/lib_sqrt.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_sqrtf.c b/nuttx/libc/math/lib_sqrtf.c
index e70a1de72..a2089c13f 100644
--- a/nuttx/libc/math/lib_sqrtf.c
+++ b/nuttx/libc/math/lib_sqrtf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_sqrtl.c b/nuttx/libc/math/lib_sqrtl.c
index 181adf0c8..010d36489 100644
--- a/nuttx/libc/math/lib_sqrtl.c
+++ b/nuttx/libc/math/lib_sqrtl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* 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
diff --git a/nuttx/libc/math/lib_tan.c b/nuttx/libc/math/lib_tan.c
index 4c091c09b..02f4d6b8e 100644
--- a/nuttx/libc/math/lib_tan.c
+++ b/nuttx/libc/math/lib_tan.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_tanf.c b/nuttx/libc/math/lib_tanf.c
index 0c9110a0b..4e0e502d5 100644
--- a/nuttx/libc/math/lib_tanf.c
+++ b/nuttx/libc/math/lib_tanf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_tanh.c b/nuttx/libc/math/lib_tanh.c
index 3b9ea0f41..6bed476e2 100644
--- a/nuttx/libc/math/lib_tanh.c
+++ b/nuttx/libc/math/lib_tanh.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_tanhf.c b/nuttx/libc/math/lib_tanhf.c
index 43d418204..15a57bd8b 100644
--- a/nuttx/libc/math/lib_tanhf.c
+++ b/nuttx/libc/math/lib_tanhf.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_tanhl.c b/nuttx/libc/math/lib_tanhl.c
index 5aafd1e7b..c74ec27ca 100644
--- a/nuttx/libc/math/lib_tanhl.c
+++ b/nuttx/libc/math/lib_tanhl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/math/lib_tanl.c b/nuttx/libc/math/lib_tanl.c
index e77abe0f1..bc32b9b49 100644
--- a/nuttx/libc/math/lib_tanl.c
+++ b/nuttx/libc/math/lib_tanl.c
@@ -10,11 +10,11 @@
* a compatibile, MIT-style license:
*
* Copyright (C) 2009, 2010 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
diff --git a/nuttx/libc/misc/lib_crc32.c b/nuttx/libc/misc/lib_crc32.c
index ae73ba3d7..0c111a882 100644
--- a/nuttx/libc/misc/lib_crc32.c
+++ b/nuttx/libc/misc/lib_crc32.c
@@ -50,7 +50,7 @@
/************************************************************************************************
* Private Data
************************************************************************************************/
-
+
static const uint32_t crc32_tab[] =
{
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3,
diff --git a/nuttx/libc/misc/lib_kbddecode.c b/nuttx/libc/misc/lib_kbddecode.c
index 7bbf64062..7ffc71b61 100644
--- a/nuttx/libc/misc/lib_kbddecode.c
+++ b/nuttx/libc/misc/lib_kbddecode.c
@@ -74,7 +74,7 @@
* Name: kbd_reget
*
* Description:
- * We have unused characters from the last, unsuccessful decode attempt.
+ * We have unused characters from the last, unsuccessful decode attempt.
* Return one of these instead of the new character from the stream.
*
* Input Parameters:
diff --git a/nuttx/libc/misc/lib_kbdencode.c b/nuttx/libc/misc/lib_kbdencode.c
index 80138ca80..dfd7bb518 100644
--- a/nuttx/libc/misc/lib_kbdencode.c
+++ b/nuttx/libc/misc/lib_kbdencode.c
@@ -99,7 +99,7 @@ static void kbd_encode(uint8_t keycode, FAR struct lib_outstream_s *stream,
void kbd_release(uint8_t ch, FAR struct lib_outstream_s *stream)
{
- kbd_encode(ch, stream, ('a' + KBD_RELEASE));
+ kbd_encode(ch, stream, ('a' + KBD_RELEASE));
}
/****************************************************************************
@@ -123,7 +123,7 @@ void kbd_specpress(enum kbd_keycode_e keycode,
FAR struct lib_outstream_s *stream)
{
DEBUGASSERT(stream && keycode >= KEYCODE_FWDDEL && keycode <= LAST_KEYCODE);
- kbd_encode((uint8_t)keycode, stream, ('a' + KBD_SPECPRESS));
+ kbd_encode((uint8_t)keycode, stream, ('a' + KBD_SPECPRESS));
}
/****************************************************************************
@@ -147,5 +147,5 @@ void kbd_specrel(enum kbd_keycode_e keycode,
FAR struct lib_outstream_s *stream)
{
DEBUGASSERT(stream && keycode >= KEYCODE_FWDDEL && keycode <= LAST_KEYCODE);
- kbd_encode((uint8_t)keycode, stream, ('a' + KBD_SPECREL));
+ kbd_encode((uint8_t)keycode, stream, ('a' + KBD_SPECREL));
}
diff --git a/nuttx/libc/misc/lib_sendfile.c b/nuttx/libc/misc/lib_sendfile.c
index 181fd9395..56651674f 100644
--- a/nuttx/libc/misc/lib_sendfile.c
+++ b/nuttx/libc/misc/lib_sendfile.c
@@ -78,7 +78,7 @@
* to perform a copy. It serves a purpose in systems where there is
* a penalty for copies to between user and kernal space, but really
* nothing in NuttX but provide some Linux compatible (and adding
- * another 'almost standard' interface).
+ * another 'almost standard' interface).
*
* NOTE: This interface is *not* specified in POSIX.1-2001, or other
* standards. The implementation here is very similar to the Linux
diff --git a/nuttx/libc/net/lib_inetaddr.c b/nuttx/libc/net/lib_inetaddr.c
index 46c6c548d..c05b59697 100644
--- a/nuttx/libc/net/lib_inetaddr.c
+++ b/nuttx/libc/net/lib_inetaddr.c
@@ -55,7 +55,7 @@
* The inet_addr() function converts the string pointed to by cp, in the
* standard IPv4 dotted decimal notation, to an integer value suitable for
* use as an Internet address.
-
+
****************************************************************************/
in_addr_t inet_addr(FAR const char *cp)
diff --git a/nuttx/libc/net/lib_inetntop.c b/nuttx/libc/net/lib_inetntop.c
index 25c32c48c..ffa7ba26d 100644
--- a/nuttx/libc/net/lib_inetntop.c
+++ b/nuttx/libc/net/lib_inetntop.c
@@ -116,7 +116,7 @@ FAR const char *inet_ntop(int af, FAR const void *src, FAR char *dst, socklen_t
int count;
int maxentry;
int maxcount;
-
+
DEBUGASSERT(src && dst);
if (af != AF_INET6)
diff --git a/nuttx/libc/pthread/pthread_attrinit.c b/nuttx/libc/pthread/pthread_attrinit.c
index 427a582b9..a2d6bf938 100644
--- a/nuttx/libc/pthread/pthread_attrinit.c
+++ b/nuttx/libc/pthread/pthread_attrinit.c
@@ -61,7 +61,7 @@
/* Default pthread attributes (see included/nuttx/pthread.h). When configured
* to build separate kernel- and user-address spaces, this global is
* duplicated in each address spaced. This copy can only be shared within
- * the user address space.
+ * the user address space.
*/
#if defined(CONFIG_NUTTX_KERNEL) && !defined(__KERNEL__)
diff --git a/nuttx/libc/pthread/pthread_condattrinit.c b/nuttx/libc/pthread/pthread_condattrinit.c
index 511376f2e..1cc0a93e7 100644
--- a/nuttx/libc/pthread/pthread_condattrinit.c
+++ b/nuttx/libc/pthread/pthread_condattrinit.c
@@ -73,7 +73,7 @@ int pthread_condattr_init(FAR pthread_condattr_t *attr)
{
ret = EINVAL;
}
- else
+ else
{
*attr = 0;
}
diff --git a/nuttx/libc/queue/dq_rem.c b/nuttx/libc/queue/dq_rem.c
index 9d0e84cbe..2c6176ae1 100644
--- a/nuttx/libc/queue/dq_rem.c
+++ b/nuttx/libc/queue/dq_rem.c
@@ -60,7 +60,7 @@ void dq_rem(FAR dq_entry_t *node, dq_queue_t *queue)
{
queue->head = next;
}
- else
+ else
{
prev->flink = next;
}
@@ -69,7 +69,7 @@ void dq_rem(FAR dq_entry_t *node, dq_queue_t *queue)
{
queue->tail = prev;
}
- else
+ else
{
next->blink = prev;
}
diff --git a/nuttx/libc/spawn/lib_psfa_addopen.c b/nuttx/libc/spawn/lib_psfa_addopen.c
index d9f5b849f..4be80ff1c 100644
--- a/nuttx/libc/spawn/lib_psfa_addopen.c
+++ b/nuttx/libc/spawn/lib_psfa_addopen.c
@@ -112,7 +112,7 @@ int posix_spawn_file_actions_addopen(FAR posix_spawn_file_actions_t *file_action
entry->oflags = oflags;
entry->mode = mode;
strncpy(entry->path, path, len+1);
-
+
/* And add it to the file action list */
add_file_action(file_actions, (FAR struct spawn_general_file_action_s *)entry);
diff --git a/nuttx/libc/spawn/lib_psfa_dump.c b/nuttx/libc/spawn/lib_psfa_dump.c
index 49a0f97a5..45ca67107 100644
--- a/nuttx/libc/spawn/lib_psfa_dump.c
+++ b/nuttx/libc/spawn/lib_psfa_dump.c
@@ -56,7 +56,7 @@
****************************************************************************/
/****************************************************************************
- * Name: posix_spawn_file_actions_dump
+ * Name: posix_spawn_file_actions_dump
*
* Description:
* Show the entryent file actions.
@@ -81,7 +81,7 @@ void posix_spawn_file_actions_dump(FAR posix_spawn_file_actions_t *file_actions)
dbg(" NONE\n");
return;
}
-
+
/* Destroy each file action, one at a time */
for (entry = (FAR struct spawn_general_file_action_s *)*file_actions;
diff --git a/nuttx/libc/stdio/lib_avsprintf.c b/nuttx/libc/stdio/lib_avsprintf.c
index 15a97f188..29ea969d4 100644
--- a/nuttx/libc/stdio/lib_avsprintf.c
+++ b/nuttx/libc/stdio/lib_avsprintf.c
@@ -106,7 +106,7 @@ int avsprintf(FAR char **ptr, const char *fmt, va_list ap)
/* First, use a nullstream to get the size of the buffer. The number
* of bytes returned may or may not include the null terminator.
*/
-
+
lib_nulloutstream(&nulloutstream);
nbytes = lib_vsprintf((FAR struct lib_outstream_s *)&nulloutstream, fmt, ap);
diff --git a/nuttx/libc/stdio/lib_fgetpos.c b/nuttx/libc/stdio/lib_fgetpos.c
index 7663ca2db..0d1f53e96 100644
--- a/nuttx/libc/stdio/lib_fgetpos.c
+++ b/nuttx/libc/stdio/lib_fgetpos.c
@@ -96,7 +96,7 @@
* stream.
*
* Returned Value:
- * Zero on succes; -1 on failure with errno set appropriately.
+ * Zero on succes; -1 on failure with errno set appropriately.
*
****************************************************************************/
diff --git a/nuttx/libc/stdio/lib_fsetpos.c b/nuttx/libc/stdio/lib_fsetpos.c
index 3d79a1877..31964337e 100644
--- a/nuttx/libc/stdio/lib_fsetpos.c
+++ b/nuttx/libc/stdio/lib_fsetpos.c
@@ -98,7 +98,7 @@
* only way to portably reposition a stream.
*
* Returned Value:
- * Zero on succes; -1 on failure with errno set appropriately.
+ * Zero on succes; -1 on failure with errno set appropriately.
*
****************************************************************************/
diff --git a/nuttx/libc/stdio/lib_libvsprintf.c b/nuttx/libc/stdio/lib_libvsprintf.c
index 325df47b8..3d96e8806 100644
--- a/nuttx/libc/stdio/lib_libvsprintf.c
+++ b/nuttx/libc/stdio/lib_libvsprintf.c
@@ -125,7 +125,7 @@
# define FMT_NEXT src++ /* Advance to the next character */
# define FMT_PREV src-- /* Backup to the previous character */
#endif
-
+
/****************************************************************************
* Private Type Declarations
****************************************************************************/
@@ -225,7 +225,7 @@ static const char g_nullstring[] = "(null)";
****************************************************************************/
/* Include floating point functions */
-
+
#ifdef CONFIG_LIBC_FLOATINGPOINT
# include "stdio/lib_libdtoa.c"
#endif
diff --git a/nuttx/libc/stdio/lib_perror.c b/nuttx/libc/stdio/lib_perror.c
index 16589e428..e551db0c3 100644
--- a/nuttx/libc/stdio/lib_perror.c
+++ b/nuttx/libc/stdio/lib_perror.c
@@ -51,7 +51,7 @@
* be defined, however, to provide perror output that is serialized with
* other stdout messages.
*/
-
+
#ifdef CONFIG_LIBC_PERROR_STDOUT
# define PERROR_STREAM stdout
#else
diff --git a/nuttx/libc/stdio/lib_stdinstream.c b/nuttx/libc/stdio/lib_stdinstream.c
index 261b26634..cf9654465 100644
--- a/nuttx/libc/stdio/lib_stdinstream.c
+++ b/nuttx/libc/stdio/lib_stdinstream.c
@@ -63,7 +63,7 @@ static int stdinstream_getc(FAR struct lib_instream_s *this)
{
this->nget++;
}
-
+
return ret;
}
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;
diff --git a/nuttx/libc/string/lib_strpbrk.c b/nuttx/libc/string/lib_strpbrk.c
index ef9b0f3e9..3f19dec6e 100644
--- a/nuttx/libc/string/lib_strpbrk.c
+++ b/nuttx/libc/string/lib_strpbrk.c
@@ -55,7 +55,7 @@ char *strpbrk(const char *str, const char *charset)
return NULL;
}
#endif
-
+
/* Check each character in the string */
while (*str)
diff --git a/nuttx/libc/string/lib_strtok.c b/nuttx/libc/string/lib_strtok.c
index 85d6597d7..937326555 100644
--- a/nuttx/libc/string/lib_strtok.c
+++ b/nuttx/libc/string/lib_strtok.c
@@ -56,7 +56,7 @@ static char *g_saveptr = NULL;
* The strtok() function parses a string into a
* sequence of tokens. On the first call to strtok() the
* string to be parsed should be specified in 'str'. In
- * each subsequent call that should parse the same string,
+ * each subsequent call that should parse the same string,
* 'str' should be NULL.
*
* The 'delim' argument specifies a set of characters that
diff --git a/nuttx/libc/string/lib_strtokr.c b/nuttx/libc/string/lib_strtokr.c
index c7845be64..22579f91e 100644
--- a/nuttx/libc/string/lib_strtokr.c
+++ b/nuttx/libc/string/lib_strtokr.c
@@ -64,7 +64,7 @@
* that parse the same string.
*
* On the first call to strtok_r(), 'str' should point to the
- * string to be parsed, and the value of 'saveptr' is
+ * string to be parsed, and the value of 'saveptr' is
* ignored. In subsequent calls, 'str' should be NULL, and
* saveptr should be unchanged since the previous call.
*
diff --git a/nuttx/libc/string/lib_vikmemcpy.c b/nuttx/libc/string/lib_vikmemcpy.c
index 28bf4a4ce..264b2f251 100644
--- a/nuttx/libc/string/lib_vikmemcpy.c
+++ b/nuttx/libc/string/lib_vikmemcpy.c
@@ -11,27 +11,27 @@
* - Use of types defined in stdint.h
* - Integration with the NuttX configuration system
* - Other cosmetic changes for consistency with NuttX coding standards
- *
+ *
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any
* damages arising from the use of this software.
* Permission is granted to anyone to use this software for any
* purpose, including commercial applications, and to alter it and
* redistribute it freely, subject to the following restrictions:
- *
+ *
* 1. The origin of this software must not be misrepresented; you
* must not claim that you wrote the original software. If you
* use this software in a product, an acknowledgment in the
* use this software in a product, an acknowledgment in the
* product documentation would be appreciated but is not
* required.
- *
+ *
* 2. Altered source versions must be plainly marked as such, and
* must not be misrepresented as being the original software.
- *
+ *
* 3. This notice may not be removed or altered from any source
* distribution.
- *
+ *
* Description: Implementation of the standard library function memcpy.
* This implementation of memcpy() is ANSI-C89 compatible.
*
@@ -310,7 +310,7 @@ typedef uint32_t UIntN;
*
*******************************************************************/
-void *memcpy(void *dest, const void *src, size_t count)
+void *memcpy(void *dest, const void *src, size_t count)
{
uint8_t *dst8 = (uint8_t*)dest;
uint8_t *src8 = (uint8_t*)src;
diff --git a/nuttx/libc/termios/lib_cfgetspeed.c b/nuttx/libc/termios/lib_cfgetspeed.c
index da10daac1..1cd5ee96d 100644
--- a/nuttx/libc/termios/lib_cfgetspeed.c
+++ b/nuttx/libc/termios/lib_cfgetspeed.c
@@ -82,7 +82,7 @@
* termiosp - The termiosp argument is a pointer to a termios structure.
*
* Returned Value:
- * Encoded baud value from the termios structure.
+ * Encoded baud value from the termios structure.
*
****************************************************************************/
diff --git a/nuttx/libc/termios/lib_cfsetspeed.c b/nuttx/libc/termios/lib_cfsetspeed.c
index a2a9475c4..bb1bde701 100644
--- a/nuttx/libc/termios/lib_cfsetspeed.c
+++ b/nuttx/libc/termios/lib_cfsetspeed.c
@@ -69,7 +69,7 @@
* stored in the structure pointed to by termiosp to speed.
*
* There is no effect on the baud set in the hardware until a subsequent
- * successful call to tcsetattr() on the same termios structure.
+ * successful call to tcsetattr() on the same termios structure.
*
* NOTE 1: NuttX does not control input/output baud independently. Both
* must be the same. The POSIX standard interfaces, cfisetispeed() and
@@ -104,7 +104,7 @@
*
* Returned Value:
* Baud is not checked... OK is always returned (this is non-standard
- * behavior).
+ * behavior).
*
****************************************************************************/
diff --git a/nuttx/libc/termios/lib_tcgetattr.c b/nuttx/libc/termios/lib_tcgetattr.c
index e8d311260..631bb6063 100644
--- a/nuttx/libc/termios/lib_tcgetattr.c
+++ b/nuttx/libc/termios/lib_tcgetattr.c
@@ -82,8 +82,8 @@
* Upon successful completion, 0 is returned. Otherwise, -1 is returned and
* errno is set to indicate the error. The following errors may be reported:
*
- * - EBADF: The 'fd' argument is not a valid file descriptor.
- * - ENOTTY: The file associated with 'fd' is not a terminal.
+ * - EBADF: The 'fd' argument is not a valid file descriptor.
+ * - ENOTTY: The file associated with 'fd' is not a terminal.
*
****************************************************************************/
diff --git a/nuttx/libc/termios/lib_tcsetattr.c b/nuttx/libc/termios/lib_tcsetattr.c
index 901f2a136..ec38ec845 100644
--- a/nuttx/libc/termios/lib_tcsetattr.c
+++ b/nuttx/libc/termios/lib_tcsetattr.c
@@ -103,12 +103,12 @@
* and errno is set to indicate the error. The following errors may be
* reported:
*
- * - EBADF: The 'fd' argument is not a valid file descriptor.
- * - EINTR: A signal interrupted tcsetattr().
+ * - EBADF: The 'fd' argument is not a valid file descriptor.
+ * - EINTR: A signal interrupted tcsetattr().
* - EINVAL: The 'options' argument is not a supported value, or
* an attempt was made to change an attribute represented in the
- * termios structure to an unsupported value.
- * - ENOTTY: The file associated with 'fd' is not a terminal.
+ * termios structure to an unsupported value.
+ * - ENOTTY: The file associated with 'fd' is not a terminal.
*
****************************************************************************/
diff --git a/nuttx/libc/time/lib_calendar2utc.c b/nuttx/libc/time/lib_calendar2utc.c
index 1b8c40a9e..847d31661 100644
--- a/nuttx/libc/time/lib_calendar2utc.c
+++ b/nuttx/libc/time/lib_calendar2utc.c
@@ -80,7 +80,7 @@
* UTC conversion routines. These conversions are based
* on algorithms from p. 604 of Seidelman, P. K. 1992.
* Explanatory Supplement to the Astronomical Almanac.
- * University Science Books, Mill Valley.
+ * University Science Books, Mill Valley.
*
****************************************************************************/
@@ -120,7 +120,7 @@ static time_t clock_julian2utc(int year, int month, int day)
* Calendar/UTC conversion based on algorithms from p. 604
* of Seidelman, P. K. 1992. Explanatory Supplement to
* the Astronomical Almanac. University Science Books,
- * Mill Valley.
+ * Mill Valley.
*
****************************************************************************/
diff --git a/nuttx/libc/time/lib_gmtimer.c b/nuttx/libc/time/lib_gmtimer.c
index d98620527..b4d1452bb 100644
--- a/nuttx/libc/time/lib_gmtimer.c
+++ b/nuttx/libc/time/lib_gmtimer.c
@@ -97,7 +97,7 @@ static void clock_utc2julian(time_t jdn, int *year, int *month, int *day);
* Calendar to UTC conversion routines. These conversions
* are based on algorithms from p. 604 of Seidelman, P. K.
* 1992. Explanatory Supplement to the Astronomical
- * Almanac. University Science Books, Mill Valley.
+ * Almanac. University Science Books, Mill Valley.
*
****************************************************************************/
diff --git a/nuttx/libc/time/lib_time.c b/nuttx/libc/time/lib_time.c
index 673f6fdcd..6335d354f 100644
--- a/nuttx/libc/time/lib_time.c
+++ b/nuttx/libc/time/lib_time.c
@@ -51,7 +51,7 @@
/****************************************************************************
* Private Data
****************************************************************************/
-
+
/****************************************************************************
* Public Functions
****************************************************************************/
diff --git a/nuttx/libc/unistd/lib_getcwd.c b/nuttx/libc/unistd/lib_getcwd.c
index 717ef2971..5820a7c04 100644
--- a/nuttx/libc/unistd/lib_getcwd.c
+++ b/nuttx/libc/unistd/lib_getcwd.c
@@ -89,7 +89,7 @@
* EACCES
* Read or search permission was denied for a component of the pathname.
* ENOMEM
- * Insufficient storage space is available.
+ * Insufficient storage space is available.
*
****************************************************************************/
diff --git a/nuttx/libc/wqueue/work_thread.c b/nuttx/libc/wqueue/work_thread.c
index f9de89976..285f7183c 100644
--- a/nuttx/libc/wqueue/work_thread.c
+++ b/nuttx/libc/wqueue/work_thread.c
@@ -182,7 +182,7 @@ static void work_process(FAR struct wqueue_s *wqueue)
next = remaining;
}
-
+
/* Then try the next in the list. */
work = (FAR struct work_s *)work->dq.flink;