summaryrefslogtreecommitdiff
path: root/libc/string/generic/strspn.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-14 22:57:45 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-14 22:57:45 +0000
commitf8703c6453b64fd74354a0851f6fb05795c31956 (patch)
tree252885111008043b1682496df58e46cbcd93d480 /libc/string/generic/strspn.c
parent032a3e76d290c776e26ae6c0a68e8b19885a68aa (diff)
Move to use attribute_hidden
Diffstat (limited to 'libc/string/generic/strspn.c')
-rw-r--r--libc/string/generic/strspn.c7
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)