From dec5edaa7fcf561f5538ca3ba0af07e402a6b55e Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 4 Nov 2012 15:12:55 +0000 Subject: 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 --- nuttx/lib/string/lib_strchr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nuttx/lib/string/lib_strchr.c') 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 -- cgit v1.2.3