From cd52592332ec2bc12a6ede510b69b536c91bc63d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 12 Feb 2013 16:15:59 -0800 Subject: [PATCH] Remove redunant "warning: " prefix from stub warnings. --- ChangeLog | 5 +++++ include/libc-symbols.h | 3 +-- 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 + + * 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 [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 -- 2.7.4