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
/
strrchr.c
diff --git
a/functions/string/strrchr.c
b/functions/string/strrchr.c
index aa4c9301640a60c2ddcd918a94af4489ad77942f..69321b29e15e8ad4b2e6a37e81c2bfca80fabde9 100644
(file)
--- a/
functions/string/strrchr.c
+++ b/
functions/string/strrchr.c
@@
-10,6
+10,8
@@
#include <string.h>
+#ifndef REGTEST
+
char * strrchr( const char * s, int c )
{
size_t i = 0;
@@
-24,6
+26,8
@@
char * strrchr( const char * s, int c )
return NULL;
}
+#endif
+
#ifdef TEST
#include <_PDCLIB_test.h>