From d10a3ab27329c49a0feb86a10affb1f69054e4ab Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 19 Oct 2015 21:24:50 +0000 Subject: 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. --- resolv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resolv/Makefile') diff --git a/resolv/Makefile b/resolv/Makefile index add74875c6..683d010141 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 -- cgit 1.4.1