summaryrefslogtreecommitdiff
path: root/libc/string/strtok_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strtok_r.c')
-rw-r--r--libc/string/strtok_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strtok_r.c b/libc/string/strtok_r.c
index 37b313455..e6c24218a 100644
--- a/libc/string/strtok_r.c
+++ b/libc/string/strtok_r.c
@@ -52,4 +52,4 @@ char *__strtok_r(char *s, const char *delim, char **save_ptr)
return token;
}
-__asm__(".weak strtok_r; strtok_r = __strtok_r");
+weak_alias(__strtok_r, strtok_r);