aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-02-12 16:15:59 -0800
committerRoland McGrath <roland@hack.frob.com>2013-02-12 16:15:59 -0800
commitcd52592332ec2bc12a6ede510b69b536c91bc63d (patch)
treeb62cf4593477ae5ae513d84c03f723fc7eec8f4d
parenta445af0bc722d620afed7683cd320c0e4c7c6059 (diff)
downloadglibc-cd52592332ec2bc12a6ede510b69b536c91bc63d.zip
glibc-cd52592332ec2bc12a6ede510b69b536c91bc63d.tar.gz
glibc-cd52592332ec2bc12a6ede510b69b536c91bc63d.tar.bz2
Remove redunant "warning: " prefix from stub warnings.
-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 77eec48..b46fb85 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 0608320..f043ce0 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