From f8703c6453b64fd74354a0851f6fb05795c31956 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 14 Nov 2005 22:57:45 +0000 Subject: Move to use attribute_hidden --- libc/string/generic/strcspn.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libc/string/generic/strcspn.c') 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) -- cgit v1.2.3