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
/
strcspn.c
diff --git
a/functions/string/strcspn.c
b/functions/string/strcspn.c
index 01f10e59bf0ab2da253c5004fb087f7b0b134cfd..68dd8b42676afff932e73bfc993fbc6835879f08 100644
(file)
--- a/
functions/string/strcspn.c
+++ b/
functions/string/strcspn.c
@@
-10,6
+10,8
@@
#include <string.h>
+#ifndef REGTEST
+
size_t strcspn( const char * s1, const char * s2 )
{
size_t len = 0;
@@
-29,6
+31,8
@@
size_t strcspn( const char * s1, const char * s2 )
return len;
}
+#endif
+
#ifdef TEST
#include <_PDCLIB_test.h>