summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/strspn.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/x86_64/strspn.S')
-rw-r--r--libc/string/x86_64/strspn.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/string/x86_64/strspn.S b/libc/string/x86_64/strspn.S
index 245d8e699..8d5903c1b 100644
--- a/libc/string/x86_64/strspn.S
+++ b/libc/string/x86_64/strspn.S
@@ -26,7 +26,10 @@
#include "_glibc_inc.h"
.text
-ENTRY (strspn)
+.global strspn
+.set strspn,__strspn
+.hidden __strspn
+ENTRY (__strspn)
movq %rdi, %rdx /* Save SRC. */
@@ -111,4 +114,4 @@ L(4): addq $256, %rsp /* remove stopset */
characters, so compute distance to first
non-valid character */
ret
-END (strspn)
+END (__strspn)