]> pd.if.org Git - pdclib/blobdiff - functions/string/strtok.c
Added Makefile and moved internal headers into seperate directory (allowing easier...
[pdclib] / functions / string / strtok.c
index 0a21a675068492785802306fca235dfb2126ba93..31359208d1d4b9342d99fe6452742d6043fd135d 100644 (file)
@@ -8,6 +8,7 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
+#include <_PDCLIB_aux.h>
 #include <string.h>
 
 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;
         }