diff options
Diffstat (limited to 'libc/string/generic/strspn.c')
-rw-r--r-- | libc/string/generic/strspn.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/string/generic/strspn.c b/libc/string/generic/strspn.c index dcf8b135d..1923f8afd 100644 --- a/libc/string/generic/strspn.c +++ b/libc/string/generic/strspn.c @@ -22,10 +22,7 @@ /* Return the length of the maximum initial segment of S which contains only characters in ACCEPT. */ -size_t -strspn (s, accept) - const char *s; - const char *accept; +size_t attribute_hidden __strspn (const char *s, const char *accept) { const char *p; const char *a; @@ -44,3 +41,5 @@ strspn (s, accept) return count; } + +strong_alias(__strspn, strspn) |