From d8ea341e64250c2f4636c559562e8904037eda74 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 26 Nov 2008 01:21:10 +0000 Subject: libc/string: need additional work to remove libc_hidden_proto's properly --- libc/string/strcpy.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libc/string/strcpy.c') diff --git a/libc/string/strcpy.c b/libc/string/strcpy.c index cda4094ac..568efbf60 100644 --- a/libc/string/strcpy.c +++ b/libc/string/strcpy.c @@ -13,8 +13,6 @@ # define Wstrcpy strcpy #endif -libc_hidden_proto(Wstrcpy) - Wchar *Wstrcpy(Wchar * __restrict s1, const Wchar * __restrict s2) { register Wchar *s = s1; @@ -29,4 +27,9 @@ Wchar *Wstrcpy(Wchar * __restrict s1, const Wchar * __restrict s2) return s1; } -libc_hidden_def(Wstrcpy) + +#ifdef WANT_WIDE +/* wcscpy does not need libc_hidden_def */ +#else +libc_hidden_def(strcpy) +#endif -- cgit v1.2.3