summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_strcmp.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-15 14:26:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-15 14:26:22 +0000
commita55cb854c55940636d89a26b911e6c10f453d699 (patch)
treea7e00fc10e9274723223073f2570708874e78607 /nuttx/lib/lib_strcmp.c
parentf5cb969d540008b740cc81e5101b7a302b44846a (diff)
downloadpx4-nuttx-a55cb854c55940636d89a26b911e6c10f453d699.tar.gz
px4-nuttx-a55cb854c55940636d89a26b911e6c10f453d699.tar.bz2
px4-nuttx-a55cb854c55940636d89a26b911e6c10f453d699.zip
Add str[n]casecmp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1239 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/lib_strcmp.c')
-rw-r--r--nuttx/lib/lib_strcmp.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/nuttx/lib/lib_strcmp.c b/nuttx/lib/lib_strcmp.c
index 0b1ce89d5..1fa24f177 100644
--- a/nuttx/lib/lib_strcmp.c
+++ b/nuttx/lib/lib_strcmp.c
@@ -1,7 +1,7 @@
-/************************************************************
- * lib_strcmp.c
+/****************************************************************************
+ * lib/lib_strcmp.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 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,23 +31,23 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ *****************************************************************************/
-/************************************************************
+/****************************************************************************
* Compilation Switches
- ************************************************************/
+ *****************************************************************************/
-/************************************************************
+/****************************************************************************
* Included Files
- ************************************************************/
+ *****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <string.h>
-/************************************************************
- * Global Functions
- ************************************************************/
+/****************************************************************************
+ * Public Functions
+ *****************************************************************************/
#ifndef CONFIG_ARCH_STRCMP
int strcmp(const char *cs, const char *ct)