summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_strdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/lib_strdup.c')
-rw-r--r--nuttx/lib/lib_strdup.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/nuttx/lib/lib_strdup.c b/nuttx/lib/lib_strdup.c
index 4b3ff8aa5..2bb9dbc9d 100644
--- a/nuttx/lib/lib_strdup.c
+++ b/nuttx/lib/lib_strdup.c
@@ -1,7 +1,7 @@
-/************************************************************
- * lib_strdup.c
+/************************************************************************
+ * lib/lib_strdup.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -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.
*
@@ -31,20 +31,20 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Included Files
- ************************************************************/
+ ************************************************************************/
#include <nuttx/config.h>
-#include <sys/types.h>
+
#include <stdlib.h>
#include <string.h>
-/************************************************************
+/************************************************************************
* Global Functions
- ************************************************************/
+ ************************************************************************/
FAR char *strdup(const char *s)
{