summaryrefslogtreecommitdiff
path: root/libc/string/generic/strspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strspn.c')
-rw-r--r--libc/string/generic/strspn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/generic/strspn.c b/libc/string/generic/strspn.c
index 129c58742..cd2882456 100644
--- a/libc/string/generic/strspn.c
+++ b/libc/string/generic/strspn.c
@@ -20,7 +20,7 @@
/* Return the length of the maximum initial segment
of S which contains only characters in ACCEPT. */
-size_t attribute_hidden __strspn (const char *s, const char *accept)
+size_t strspn (const char *s, const char *accept)
{
const char *p;
const char *a;
@@ -39,5 +39,5 @@ size_t attribute_hidden __strspn (const char *s, const char *accept)
return count;
}
-
-strong_alias(__strspn,strspn)
+libc_hidden_proto(strspn)
+libc_hidden_def(strspn)