projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added #ifdef to allow regression against system lib.
[fw/pdclib]
/
functions
/
string
/
strchr.c
diff --git
a/functions/string/strchr.c
b/functions/string/strchr.c
index 96ab0519aafbbdc8f4be004cf77929fabfc1914c..15155a4f41f625f772c4059a9145339b5700a4a2 100644
(file)
--- a/
functions/string/strchr.c
+++ b/
functions/string/strchr.c
@@
-10,6
+10,8
@@
#include <string.h>
+#ifndef REGTEST
+
char * strchr( const char * s, int c )
{
do
@@
-22,6
+24,8
@@
char * strchr( const char * s, int c )
return NULL;
}
+#endif
+
#ifdef TEST
#include <_PDCLIB_test.h>