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