]> pd.if.org Git - pdclib.old/blobdiff - functions/string/strtok.c
Moved internal struct definitions to _PDCLIB_int.h where they belong.
[pdclib.old] / functions / string / strtok.c
index 071f4f8607e4063f093674c3d81263f16d332793..a7fc461793e4bce30f50bd21177418483c730ab5 100644 (file)
@@ -8,9 +8,10 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#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 +73,8 @@ char * strtok( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
     return ( tmp = NULL );
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>