diff options
| author | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-03 14:32:22 +0000 | 
|---|---|---|
| committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-03 14:32:22 +0000 | 
| commit | 7e6f8ff99f9f21a509bb92c231c679966b20691a (patch) | |
| tree | a17e583ee6faeeffa34c8793b475b5ac07d8b3ad | |
| parent | 1837e910e4588e0e4877f09906a0286b27c18543 (diff) | |
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.
| -rw-r--r-- | libc/string/wstring.c | 2 | 
1 files changed, 0 insertions, 2 deletions
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 */  | 
