This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.22-434-gd10a3ab


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  d10a3ab27329c49a0feb86a10affb1f69054e4ab (commit)
      from  f63f2bfdfaad591305863a79c4fd2c3f50015f26 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d10a3ab27329c49a0feb86a10affb1f69054e4ab

commit d10a3ab27329c49a0feb86a10affb1f69054e4ab
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Oct 19 21:24:50 2015 +0000

    Do not use -Wno-strict-prototypes.
    
    Two glibc makefiles use -Wno-strict-prototypes.  I don't know if this
    was needed before my recent conversion of many function definitions to
    prototype style, but it's not needed now; this patch removes it.
    
    Tested for x86_64 and x86 (testsuite, and that installed stripped
    shared libraries are unchanged by the patch).
    
    	* posix/Makefile (CFLAGS-regex.c): Remove variable.
    	* resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.

diff --git a/ChangeLog b/ChangeLog
index a4e316c..0fdbac0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
 
+	* posix/Makefile (CFLAGS-regex.c): Remove variable.
+	* resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
+
 	* crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
 	function definition.
 	* crypt/crypt_util.c (__encrypt_r): Likewise.
diff --git a/posix/Makefile b/posix/Makefile
index cbc4bc6..aeb9890 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -189,7 +189,6 @@ $(objpfx)config-name.h: $(..)scripts/config-uname.sh $(common-objpfx)config.make
 	   '$(config-machine)-$(config-vendor)' > $@.new
 	mv -f $@.new $@
 
-CFLAGS-regex.c = -Wno-strict-prototypes
 CFLAGS-getaddrinfo.c = -DRESOLVER -fexceptions
 CFLAGS-pause.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-pread.c = -fexceptions -fasynchronous-unwind-tables
diff --git a/resolv/Makefile b/resolv/Makefile
index add7487..683d010 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -94,7 +94,7 @@ CFLAGS-libresolv += $(stack-protector)
 CFLAGS-res_hconf.c = -fexceptions
 
 # The BIND code elicits some harmless warnings.
-+cflags += -Wno-strict-prototypes -Wno-write-strings
++cflags += -Wno-write-strings
 
 # The DNS NSS modules needs the resolver.
 $(objpfx)libnss_dns.so: $(objpfx)libresolv.so

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    3 +++
 posix/Makefile  |    1 -
 resolv/Makefile |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]