X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrtok.c;h=31359208d1d4b9342d99fe6452742d6043fd135d;hb=02c1ddcae6c88b55d2f4de825ee6c6456150b8ae;hp=0a21a675068492785802306fca235dfb2126ba93;hpb=1216c2da42a1c3f9430ec6b8e11c851febdb2c3f;p=pdclib diff --git a/functions/string/strtok.c b/functions/string/strtok.c index 0a21a67..3135920 100644 --- a/functions/string/strtok.c +++ b/functions/string/strtok.c @@ -8,6 +8,7 @@ Permission is granted to use, modify, and / or redistribute at will. */ +#include <_PDCLIB_aux.h> #include char * strtok( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 ) @@ -25,7 +26,7 @@ char * strtok( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 ) { /* old string continued */ if ( tmp == NULL ) - } + { /* No old string, no new string, nothing to do */ return NULL; }