X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrtok.c;h=e57507a890476f98a9f4e78de417cf506ec3e2fc;hb=b1fc26afebd4d557ff89a44bc21767a8704c3809;hp=691c640cac060bf4cbc16ed79adc660ff21bde2b;hpb=ebeb585aade62e51dc7b7ddd5de66473f81febfd;p=pdclib diff --git a/functions/string/strtok.c b/functions/string/strtok.c index 691c640..e57507a 100644 --- a/functions/string/strtok.c +++ b/functions/string/strtok.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* strtok( char *, const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -68,7 +66,8 @@ char * strtok( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 ) } /* parsed to end of string */ - return ( tmp = NULL ); + tmp = NULL; + return s1; } #endif