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
/
strtok.c
diff --git
a/functions/string/strtok.c
b/functions/string/strtok.c
index 071f4f8607e4063f093674c3d81263f16d332793..991891dd258f0bc27b2b7cb3dc9a7b4eb8df5e6a 100644
(file)
--- a/
functions/string/strtok.c
+++ b/
functions/string/strtok.c
@@
-11,6
+11,8
@@
#include <_PDCLIB_aux.h>
#include <string.h>
+#ifndef REGTEST
+
char * strtok( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
{
static char * tmp = NULL;
@@
-72,6
+74,8
@@
char * strtok( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
return ( tmp = NULL );
}
+#endif
+
#ifdef TEST
#include <_PDCLIB_test.h>