[uClibc-cvs] uClibc/libc/string wstring.c,1.13,1.14

Manuel Novoa III mjn3 at uclibc.org
Mon Mar 3 14:32:25 UTC 2003


Update of /var/cvs/uClibc/libc/string
In directory winder:/tmp/cvs-serv8909

Modified Files:
	wstring.c 
Log Message:
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.


Index: wstring.c
===================================================================
RCS file: /var/cvs/uClibc/libc/string/wstring.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- wstring.c	17 Feb 2003 14:17:30 -0000	1.13
+++ wstring.c	3 Mar 2003 14:32:22 -0000	1.14
@@ -637,10 +637,8 @@
 
 #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 */




More information about the uClibc-cvs mailing list