summaryrefslogtreecommitdiff
path: root/libc/string/generic/strcspn.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/strcspn.c
parent032a3e76d290c776e26ae6c0a68e8b19885a68aa (diff)
Move to use attribute_hidden
Diffstat (limited to 'libc/string/generic/strcspn.c')
-rw-r--r--libc/string/generic/strcspn.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/string/generic/strcspn.c b/libc/string/generic/strcspn.c
index c5d2d769d..c41132cf6 100644
--- a/libc/string/generic/strcspn.c
+++ b/libc/string/generic/strcspn.c
@@ -22,10 +22,7 @@
/* Return the length of the maximum initial segment of S
which contains no characters from REJECT. */
-size_t
-strcspn (s, reject)
- const char *s;
- const char *reject;
+size_t attribute_hidden __strcspn (const char *s, const char *reject)
{
size_t count = 0;
@@ -37,3 +34,5 @@ strcspn (s, reject)
return count;
}
+
+strong_alias(__strcspn, strcspn)