[COMMITTED PATCH] Remove redunant "warning: " prefix from stub warnings.
Roland McGrath
roland@hack.frob.com
Wed Feb 13 00:17:00 GMT 2013
2013-02-12 Roland McGrath <roland@hack.frob.com>
* include/libc-symbols.h (stub_warning): Remove "warning: " prefix
from the message. The linker prefixes all warnings with that already.
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -228,8 +228,7 @@
/* A canned warning for sysdeps/stub functions. */
#define stub_warning(name) \
__make_section_unallocated (".gnu.glibc-stub." #name) \
- link_warning (name, \
- "warning: " #name " is not implemented and will always fail")
+ link_warning (name, #name " is not implemented and will always fail")
/* Warning for linking functions calling dlopen into static binaries. */
#ifdef SHARED
More information about the Libc-alpha
mailing list