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

Erik Andersen andersen at codepoet.org
Mon Feb 17 14:17:34 UTC 2003


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

Modified Files:
	wstring.c 
Log Message:
Patch from Stefan Allius:

    In libc/string/wstring I replaced a '#warning ..' statement by the
    link_warning macro.



Index: wstring.c
===================================================================
RCS file: /var/cvs/uClibc/libc/string/wstring.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- wstring.c	20 Dec 2002 19:26:33 -0000	1.12
+++ wstring.c	17 Feb 2003 14:17:30 -0000	1.13
@@ -636,10 +636,11 @@
 #ifdef L_strcmp
 
 #ifdef __LOCALE_C_ONLY
-#warning 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