about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--include/libc-symbols.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 77eec48bbd..b46fb855d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 2013-02-12  Andreas Schwab  <schwab@suse.de>
 
 	[BZ #15078]
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 0608320afc..f043ce0850 100644
--- 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