From 7e6f8ff99f9f21a509bb92c231c679966b20691a Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 3 Mar 2003 14:32:22 +0000 Subject: Remove bogus link_warning. It is meaningless and stupid. While the previous committed patch was well-meaning, the #warning it replaced was simply a reminder I accidently left in when implementing strcoll/wcscoll. Besides, strcmp is completely locale invariant. --- libc/string/wstring.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libc/string') diff --git a/libc/string/wstring.c b/libc/string/wstring.c index e649a5607..9661893d5 100644 --- a/libc/string/wstring.c +++ b/libc/string/wstring.c @@ -637,10 +637,8 @@ int Wmemcmp(const Wvoid *s1, const Wvoid *s2, size_t n) #ifdef __LOCALE_C_ONLY #ifdef L_wcscmp -link_warning(wcscmp,"the 'wcscmp' function supports only C|POSIX locales") weak_alias(wcscmp,wcscoll); #else /* L_wcscmp */ -link_warning(strcmp,"the 'strcmp' function supports only C|POSIX locales") weak_alias(strcmp,strcoll); #endif /* L_wcscmp */ #endif /* __LOCALE_C_ONLY */ -- cgit v1.2.3