summaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-19 21:24:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-19 21:24:50 +0000
commitd10a3ab27329c49a0feb86a10affb1f69054e4ab (patch)
treef94bde09b200a68b15f5c7d60f7efa74288b3bb4 /resolv
parentf63f2bfdfaad591305863a79c4fd2c3f50015f26 (diff)
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.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/Makefile2
1 files changed, 1 insertions, 1 deletions
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