summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-28 21:21:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-28 21:21:11 +0000
commit3b136a8a2bba17e4f5ab0a18118a9f69e5f5eab1 (patch)
treea510709193787728627f6ca1f13672cf44719af9 /nuttx
parent2813ddd4e072e6cb148674d7a550a932405049a5 (diff)
downloadpx4-nuttx-3b136a8a2bba17e4f5ab0a18118a9f69e5f5eab1.tar.gz
px4-nuttx-3b136a8a2bba17e4f5ab0a18118a9f69e5f5eab1.tar.bz2
px4-nuttx-3b136a8a2bba17e4f5ab0a18118a9f69e5f5eab1.zip
header file and file header clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3434 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/arch/sim/include/arch.h2
-rw-r--r--nuttx/arch/sim/include/irq.h2
-rw-r--r--nuttx/arch/sim/include/limits.h2
-rw-r--r--nuttx/arch/sim/include/types.h2
-rw-r--r--nuttx/arch/sim/src/up_deviceimage.c2
-rw-r--r--nuttx/arch/sim/src/up_internal.h2
-rw-r--r--nuttx/arch/sim/src/up_setjmp.S2
-rw-r--r--nuttx/include/ctype.h40
-rw-r--r--nuttx/include/sys/syscall.h145
-rw-r--r--nuttx/include/syscall.h70
-rw-r--r--nuttx/lib/dq_addafter.c2
-rw-r--r--nuttx/lib/dq_addbefore.c2
-rw-r--r--nuttx/lib/dq_addfirst.c2
-rw-r--r--nuttx/lib/dq_addlast.c2
-rw-r--r--nuttx/lib/dq_rem.c2
-rw-r--r--nuttx/lib/dq_remfirst.c2
-rw-r--r--nuttx/lib/lib_fprintf.c2
-rw-r--r--nuttx/lib/lib_init.c2
-rw-r--r--nuttx/lib/lib_memcmp.c2
-rw-r--r--nuttx/lib/lib_memcpy.c2
-rw-r--r--nuttx/lib/lib_memmove.c2
-rw-r--r--nuttx/lib/lib_memset.c2
-rw-r--r--nuttx/lib/lib_rand.c2
-rw-r--r--nuttx/lib/lib_rint.c2
-rw-r--r--nuttx/lib/lib_strcspn.c2
-rw-r--r--nuttx/lib/lib_strncat.c2
-rw-r--r--nuttx/lib/lib_strncpy.c2
-rw-r--r--nuttx/lib/lib_strspn.c2
-rw-r--r--nuttx/lib/sq_addafter.c2
-rw-r--r--nuttx/lib/sq_addfirst.c2
-rw-r--r--nuttx/lib/sq_addlast.c2
-rw-r--r--nuttx/lib/sq_rem.c2
-rw-r--r--nuttx/lib/sq_remafter.c2
-rw-r--r--nuttx/lib/sq_remfirst.c2
-rw-r--r--nuttx/lib/sq_remlast.c2
35 files changed, 267 insertions, 52 deletions
diff --git a/nuttx/arch/sim/include/arch.h b/nuttx/arch/sim/include/arch.h
index 32eadcd17..03e8ae36e 100644
--- a/nuttx/arch/sim/include/arch.h
+++ b/nuttx/arch/sim/include/arch.h
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/arch/sim/include/irq.h b/nuttx/arch/sim/include/irq.h
index 312154b78..e5405f0ca 100644
--- a/nuttx/arch/sim/include/irq.h
+++ b/nuttx/arch/sim/include/irq.h
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/arch/sim/include/limits.h b/nuttx/arch/sim/include/limits.h
index 814319c0a..775d0298d 100644
--- a/nuttx/arch/sim/include/limits.h
+++ b/nuttx/arch/sim/include/limits.h
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/arch/sim/include/types.h b/nuttx/arch/sim/include/types.h
index 9c265bc6d..214fbb91b 100644
--- a/nuttx/arch/sim/include/types.h
+++ b/nuttx/arch/sim/include/types.h
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/arch/sim/src/up_deviceimage.c b/nuttx/arch/sim/src/up_deviceimage.c
index fd45816ca..19b7650ec 100644
--- a/nuttx/arch/sim/src/up_deviceimage.c
+++ b/nuttx/arch/sim/src/up_deviceimage.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/arch/sim/src/up_internal.h b/nuttx/arch/sim/src/up_internal.h
index e22422aea..7f241e48e 100644
--- a/nuttx/arch/sim/src/up_internal.h
+++ b/nuttx/arch/sim/src/up_internal.h
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/arch/sim/src/up_setjmp.S b/nuttx/arch/sim/src/up_setjmp.S
index f6388b315..56c72370c 100644
--- a/nuttx/arch/sim/src/up_setjmp.S
+++ b/nuttx/arch/sim/src/up_setjmp.S
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/include/ctype.h b/nuttx/include/ctype.h
index ca9235446..70b55e179 100644
--- a/nuttx/include/ctype.h
+++ b/nuttx/include/ctype.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/ctype.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -31,7 +31,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ****************************************************************************/
#ifndef __INCLUDE_CTYPE_H
#define __INCLUDE_CTYPE_H
@@ -44,11 +44,11 @@
/****************************************************************************
* Included Files
- ************************************************************/
+ ****************************************************************************/
/****************************************************************************
* Pre-processor Definitions
- ************************************************************/
+ ****************************************************************************/
/****************************************************************************
* Function: isspace
@@ -59,7 +59,7 @@
* carriage return ('\r'), horizontal tab ('\t'), and vertical
* tab ('\v').
*
- ************************************************************/
+ ****************************************************************************/
#define isspace(c) \
((c) == ' ' || (c) == '\t' || (c) == '\n' || \
@@ -72,7 +72,7 @@
* Checks whether c is a 7-bit unsigned char value that
* fits into the ASCII character set.
*
- ************************************************************/
+ ****************************************************************************/
#define isascii(c) ((c) >= 0 && (c) <= 0x7f);
@@ -82,7 +82,7 @@
* Description:
* Checks for a printable character (including space)
*
- ************************************************************/
+ ****************************************************************************/
#define isprint(c) ((c) >= 0x20 && (c) < 0x7f)
@@ -92,7 +92,7 @@
* Description:
* Checks for a printable character (excluding space)
*
- ************************************************************/
+ ****************************************************************************/
#define isgraph(c) ((c) > 0x20 && (c) < 0x7f)
@@ -102,7 +102,7 @@
* Description:
* Checks for control character.
*
- ************************************************************/
+ ****************************************************************************/
#define iscontrol(c) (!isprint(c))
@@ -112,7 +112,7 @@
* Description:
* Checks for an lowercase letter.
*
- ************************************************************/
+ ****************************************************************************/
#define islower(c) ((c) >= 'a' && (c) <= 'z')
@@ -122,7 +122,7 @@
* Description:
* Checks for an uppercase letter.
*
- ************************************************************/
+ ****************************************************************************/
#define isupper(c) ((c) >= 'A' && (c) <= 'Z')
@@ -132,7 +132,7 @@
* Description:
* Checks for an alphabetic character
*
- ************************************************************/
+ ****************************************************************************/
#define isalpha(c) (islower(c) || isupper(c))
@@ -142,7 +142,7 @@
* Description:
* ANSI standard isdigit implementation.
*
- ************************************************************/
+ ****************************************************************************/
#define isdigit(c) ((c) >= '0' && (c) <= '9')
@@ -152,7 +152,7 @@
* Description:
* Checks for an alphanumeric character
*
- ************************************************************/
+ ****************************************************************************/
#define isalnum(c) (isalpha(c) || isdigit(c))
@@ -163,7 +163,7 @@
* Checks for a printable character which is not a space
* or an alphanumeric character
*
- ************************************************************/
+ ****************************************************************************/
#define ispunct(c) (isgraph(c) && !isalnum(c))
@@ -174,7 +174,7 @@
* isxdigit() checks for a hexadecimal digits, i.e. one of
* {0-9,a-f,A-F}
*
- ************************************************************/
+ ****************************************************************************/
#define isxdigit(c) \
(((c) >= '0' && (c) <= '9') || \
@@ -187,7 +187,7 @@
* Description:
* toupper() converts the letter c to upper case, if possible.
*
- ************************************************************/
+ ****************************************************************************/
#define toupper(c) \
(((c) >= 'a' && (c) <= 'z') ? ((c) - 'a' + 'A') : (c))
@@ -198,18 +198,18 @@
* Description:
* tolower() converts the letter c to lower case, if possible.
*
- ************************************************************/
+ ****************************************************************************/
#define tolower(c) \
(((c) >= 'A' && (c) <= 'Z') ? ((c) - 'A' + 'a') : (c))
/****************************************************************************
* Public Type Definitions
- ************************************************************/
+ ****************************************************************************/
/****************************************************************************
* Public Functions
- ************************************************************/
+ ****************************************************************************/
#ifdef __cplusplus
#define EXTERN extern "C"
diff --git a/nuttx/include/sys/syscall.h b/nuttx/include/sys/syscall.h
new file mode 100644
index 000000000..709f282c9
--- /dev/null
+++ b/nuttx/include/sys/syscall.h
@@ -0,0 +1,145 @@
+/****************************************************************************
+ * include/sys/syscall.h
+ * This file contains the system call numbers.
+ *
+ * Copyright (C) 2011 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ * 3. Neither the name NuttX nor the names of its contributors may be
+ * used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ *
+ ****************************************************************************/
+
+#ifndef __INCLUDE_SYS_SYSCALL_H
+#define __INCLUDE_SYS_SYSCALL_H
+
+/****************************************************************************
+ * Included Files
+ ****************************************************************************/
+
+/****************************************************************************
+ * Pre-processor Definitions
+ ****************************************************************************/
+
+#define SYS_accept (0)
+#define SYS_bind (1)
+#define SYS_chdir (2)
+#define SYS_clock_getres (3)
+#define SYS_clock_gettime (4)
+#define SYS_clock_settime (5)
+#define SYS_close (6)
+#define SYS_connect (7)
+#define SYS_creat (8)
+#define SYS_dup (9)
+#define SYS_dup2 (10)
+#define SYS_exit (11)
+#define SYS_fcntl (12)
+#define SYS_fstat (13)
+#define SYS_fstatfs (14)
+#define SYS_fsync (15)
+#define SYS_getcwd (16)
+#define SYS_getpid (17)
+#define SYS_getsockopt (18)
+#define SYS_gettimeofday (19)
+#define SYS_ioctl (20)
+#define SYS_kill (21)
+#define SYS_listen (22)
+#define SYS_lseek (23)
+#define SYS_mkdir (24)
+#define SYS_mmap (25)
+#define SYS_mount (26)
+#define SYS_mq_notify (27)
+#define SYS_mq_open (28)
+#define SYS_mq_timedreceive (29)
+#define SYS_mq_timedsend (30)
+#define SYS_mq_unlink (31)
+#define SYS_munmap (32)
+#define SYS_open (33)
+#define SYS_pipe (34)
+#define SYS_poll (35)
+#define SYS_read (36)
+#define SYS_readdir (37)
+#define SYS_reboot (38)
+#define SYS_recvfrom (39)
+#define SYS_rename (40)
+#define SYS_rmdir (41)
+#define SYS_sched_getparam (42)
+#define SYS_sched_get_priority_max (43)
+#define SYS_sched_get_priority_min (44)
+#define SYS_sched_getscheduler (45)
+#define SYS_sched_rr_get_interval (46)
+#define SYS_sched_setparam (47)
+#define SYS_sched_setscheduler (48)
+#define SYS_sched_yield (49)
+#define SYS_select (50)
+#define SYS_sendto (51)
+#define SYS_setsockopt (52)
+#define SYS_sigaction (53)
+#define SYS_signal (54)
+#define SYS_sigpending (55)
+#define SYS_sigprocmask (56)
+#define SYS_sigsuspend (57)
+#define SYS_socket (58)
+#define SYS_stat (59)
+#define SYS_statfs (60)
+#define SYS_task_create (61)
+#define SYS_task_delete (62)
+#define SYS_task_init (63)
+#define SYS_task_restart (64)
+#define SYS_timer_create (65)
+#define SYS_timer_delete (66)
+#define SYS_timer_getoverrun (67)
+#define SYS_timer_gettime (68)
+#define SYS_timer_settime (69)
+#define SYS_umount (70)
+#define SYS_unlink (71)
+#define SYS_waitid (72)
+#define SYS_waitpid (73)
+#define SYS_write (74)
+
+/****************************************************************************
+ * Public Type Definitions
+ ****************************************************************************/
+
+/****************************************************************************
+ * Public Functions
+ ****************************************************************************/
+
+#ifdef __cplusplus
+#define EXTERN extern "C"
+extern "C" {
+#else
+#define EXTERN extern
+#endif
+
+#undef EXTERN
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __INCLUDE_SYS_SYSCALL_H */
+
diff --git a/nuttx/include/syscall.h b/nuttx/include/syscall.h
new file mode 100644
index 000000000..ba3a3ba89
--- /dev/null
+++ b/nuttx/include/syscall.h
@@ -0,0 +1,70 @@
+/****************************************************************************
+ * include/syscall.h
+ *
+ * Copyright (C) 2011 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ * 3. Neither the name NuttX nor the names of its contributors may be
+ * used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ *
+ ****************************************************************************/
+
+#ifndef __INCLUDE_SYSCALL_H
+#define __INCLUDE_SYSCALL_H
+
+/****************************************************************************
+ * Included Files
+ ****************************************************************************/
+/* This is just a wrapper around sys/syscall.h for compatibility */
+
+#include <sys/syscall.h>
+
+/****************************************************************************
+ * Pre-processor Definitions
+ ****************************************************************************/
+
+/****************************************************************************
+ * Public Type Definitions
+ ****************************************************************************/
+
+/****************************************************************************
+ * Public Functions
+ ****************************************************************************/
+
+#ifdef __cplusplus
+#define EXTERN extern "C"
+extern "C" {
+#else
+#define EXTERN extern
+#endif
+
+#undef EXTERN
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __INCLUDE_SYSCALL_H */
diff --git a/nuttx/lib/dq_addafter.c b/nuttx/lib/dq_addafter.c
index 6be30a501..dd2f672c8 100644
--- a/nuttx/lib/dq_addafter.c
+++ b/nuttx/lib/dq_addafter.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/dq_addbefore.c b/nuttx/lib/dq_addbefore.c
index 943858ca2..6c23ee9c8 100644
--- a/nuttx/lib/dq_addbefore.c
+++ b/nuttx/lib/dq_addbefore.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/dq_addfirst.c b/nuttx/lib/dq_addfirst.c
index d73f49db1..6d5330122 100644
--- a/nuttx/lib/dq_addfirst.c
+++ b/nuttx/lib/dq_addfirst.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/dq_addlast.c b/nuttx/lib/dq_addlast.c
index 8d7225682..761099e7e 100644
--- a/nuttx/lib/dq_addlast.c
+++ b/nuttx/lib/dq_addlast.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/dq_rem.c b/nuttx/lib/dq_rem.c
index 17f2b8622..e81d07233 100644
--- a/nuttx/lib/dq_rem.c
+++ b/nuttx/lib/dq_rem.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/dq_remfirst.c b/nuttx/lib/dq_remfirst.c
index ed64fe268..b31f61938 100644
--- a/nuttx/lib/dq_remfirst.c
+++ b/nuttx/lib/dq_remfirst.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_fprintf.c b/nuttx/lib/lib_fprintf.c
index 6d8ac91da..72d3c9acc 100644
--- a/nuttx/lib/lib_fprintf.c
+++ b/nuttx/lib/lib_fprintf.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_init.c b/nuttx/lib/lib_init.c
index 19222535d..bd2c6e7ba 100644
--- a/nuttx/lib/lib_init.c
+++ b/nuttx/lib/lib_init.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_memcmp.c b/nuttx/lib/lib_memcmp.c
index 00cf62486..3dee4f0c7 100644
--- a/nuttx/lib/lib_memcmp.c
+++ b/nuttx/lib/lib_memcmp.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_memcpy.c b/nuttx/lib/lib_memcpy.c
index 0953b4d28..b9445214d 100644
--- a/nuttx/lib/lib_memcpy.c
+++ b/nuttx/lib/lib_memcpy.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_memmove.c b/nuttx/lib/lib_memmove.c
index cad0fa2fc..564f9cdbe 100644
--- a/nuttx/lib/lib_memmove.c
+++ b/nuttx/lib/lib_memmove.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_memset.c b/nuttx/lib/lib_memset.c
index 25b4929eb..6b197460b 100644
--- a/nuttx/lib/lib_memset.c
+++ b/nuttx/lib/lib_memset.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_rand.c b/nuttx/lib/lib_rand.c
index 5dde2dd8c..6624305ab 100644
--- a/nuttx/lib/lib_rand.c
+++ b/nuttx/lib/lib_rand.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_rint.c b/nuttx/lib/lib_rint.c
index a0f7dbd4f..28eb7fc44 100644
--- a/nuttx/lib/lib_rint.c
+++ b/nuttx/lib/lib_rint.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_strcspn.c b/nuttx/lib/lib_strcspn.c
index 1c18eb122..1aa7c8ceb 100644
--- a/nuttx/lib/lib_strcspn.c
+++ b/nuttx/lib/lib_strcspn.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_strncat.c b/nuttx/lib/lib_strncat.c
index 7846b3b57..6cb91ff41 100644
--- a/nuttx/lib/lib_strncat.c
+++ b/nuttx/lib/lib_strncat.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_strncpy.c b/nuttx/lib/lib_strncpy.c
index 11d999fe8..c612cacb1 100644
--- a/nuttx/lib/lib_strncpy.c
+++ b/nuttx/lib/lib_strncpy.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/lib_strspn.c b/nuttx/lib/lib_strspn.c
index 763119714..2e72cc4c7 100644
--- a/nuttx/lib/lib_strspn.c
+++ b/nuttx/lib/lib_strspn.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/sq_addafter.c b/nuttx/lib/sq_addafter.c
index 268365a18..f2037c276 100644
--- a/nuttx/lib/sq_addafter.c
+++ b/nuttx/lib/sq_addafter.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/sq_addfirst.c b/nuttx/lib/sq_addfirst.c
index d34677241..037af825e 100644
--- a/nuttx/lib/sq_addfirst.c
+++ b/nuttx/lib/sq_addfirst.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/sq_addlast.c b/nuttx/lib/sq_addlast.c
index f3368dcae..f02c3d70b 100644
--- a/nuttx/lib/sq_addlast.c
+++ b/nuttx/lib/sq_addlast.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/sq_rem.c b/nuttx/lib/sq_rem.c
index e5d1bbed5..31eef0408 100644
--- a/nuttx/lib/sq_rem.c
+++ b/nuttx/lib/sq_rem.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/sq_remafter.c b/nuttx/lib/sq_remafter.c
index d876d3a56..c22613c5b 100644
--- a/nuttx/lib/sq_remafter.c
+++ b/nuttx/lib/sq_remafter.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/sq_remfirst.c b/nuttx/lib/sq_remfirst.c
index 3cb00c599..c77bd37a3 100644
--- a/nuttx/lib/sq_remfirst.c
+++ b/nuttx/lib/sq_remfirst.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
diff --git a/nuttx/lib/sq_remlast.c b/nuttx/lib/sq_remlast.c
index 0e34492a3..87a8fc8bd 100644
--- a/nuttx/lib/sq_remlast.c
+++ b/nuttx/lib/sq_remlast.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*