]> pd.if.org Git - pdclib/blobdiff - functions/string/strtok.c
Added #ifdef to allow regression against system lib.
[pdclib] / functions / string / strtok.c
index 071f4f8607e4063f093674c3d81263f16d332793..991891dd258f0bc27b2b7cb3dc9a7b4eb8df5e6a 100644 (file)
@@ -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>