OSDN Git Service

Remove bogus link_warning. It is meaningless and stupid. While the
authorManuel Novoa III <mjn3@codepoet.org>
Mon, 3 Mar 2003 14:32:22 +0000 (14:32 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Mon, 3 Mar 2003 14:32:22 +0000 (14:32 -0000)
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

index e649a56..9661893 100644 (file)
@@ -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 */