diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/string/strtok.c | 2 | ||||
-rw-r--r-- | libc/string/strtok_r.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/libc/string/strtok.c b/libc/string/strtok.c index 9dc19a90b..dfe05d780 100644 --- a/libc/string/strtok.c +++ b/libc/string/strtok.c @@ -4,5 +4,5 @@ static char *save = 0; char *strtok(char *s, const char *delim) { - return __strtok_r(s, delim, &save); + return strtok_r(s, delim, &save); } diff --git a/libc/string/strtok_r.c b/libc/string/strtok_r.c index e6c24218a..78b3b7e37 100644 --- a/libc/string/strtok_r.c +++ b/libc/string/strtok_r.c @@ -25,7 +25,7 @@ Cambridge, MA 02139, USA. */ #include <string.h> -char *__strtok_r(char *s, const char *delim, char **save_ptr) +char *strtok_r(char *s, const char *delim, char **save_ptr) { char *token; @@ -51,5 +51,3 @@ char *__strtok_r(char *s, const char *delim, char **save_ptr) return token; } - -weak_alias(__strtok_r, strtok_r); |