summaryrefslogtreecommitdiff
path: root/libc/string/strtok_r.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-06 09:15:19 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-06 09:15:19 +0000
commit1a420b1fcb6a570fbe9fdad93f0084dd1503422f (patch)
tree4661f12393541cdcc28d1dca30451c94cec1e81d /libc/string/strtok_r.c
parentda0db0ab5640256bc4217abcfc6a6e9285c27bfc (diff)
Use public interface, not a glibc style private one
-Erik
Diffstat (limited to 'libc/string/strtok_r.c')
-rw-r--r--libc/string/strtok_r.c4
1 files changed, 1 insertions, 3 deletions
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);