summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/strpbrk.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/x86_64/strpbrk.S')
-rw-r--r--libc/string/x86_64/strpbrk.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/string/x86_64/strpbrk.S b/libc/string/x86_64/strpbrk.S
index c49cd2c06..c37befe72 100644
--- a/libc/string/x86_64/strpbrk.S
+++ b/libc/string/x86_64/strpbrk.S
@@ -1,2 +1,5 @@
-#define strcspn strpbrk
+#define __strcspn __strpbrk
+.global strpbrk
+.set strpbrk,__strpbrk
+.hidden __strpbrk
#include "strcspn.S"