summaryrefslogtreecommitdiff
path: root/nuttx/lib/string/lib_strchr.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-04 15:12:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-04 15:12:55 +0000
commitdec5edaa7fcf561f5538ca3ba0af07e402a6b55e (patch)
tree91d9f298d4568c87e8a0c3f4211e229dc80f2b13 /nuttx/lib/string/lib_strchr.c
parent9c2462da3c765755e63a15e85050e92a9d873a6c (diff)
downloadpx4-nuttx-dec5edaa7fcf561f5538ca3ba0af07e402a6b55e.tar.gz
px4-nuttx-dec5edaa7fcf561f5538ca3ba0af07e402a6b55e.tar.bz2
px4-nuttx-dec5edaa7fcf561f5538ca3ba0af07e402a6b55e.zip
RGMP 4.0 update from Qiang Yu
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5305 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/string/lib_strchr.c')
-rw-r--r--nuttx/lib/string/lib_strchr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/lib/string/lib_strchr.c b/nuttx/lib/string/lib_strchr.c
index ad7273862..d0bd22a0e 100644
--- a/nuttx/lib/string/lib_strchr.c
+++ b/nuttx/lib/string/lib_strchr.c
@@ -59,6 +59,7 @@
*
****************************************************************************/
+#ifndef CONFIG_ARCH_STRCHR
FAR char *strchr(FAR const char *s, int c)
{
if (s)
@@ -74,3 +75,4 @@ FAR char *strchr(FAR const char *s, int c)
return NULL;
}
+#endif