summaryrefslogtreecommitdiff
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 /posix/Makefile
parentConvert 69 more function definitions to prototype style (line wrap cases). (diff)
downloadglibc-d10a3ab27329c49a0feb86a10affb1f69054e4ab.tar.gz
glibc-d10a3ab27329c49a0feb86a10affb1f69054e4ab.tar.bz2
glibc-d10a3ab27329c49a0feb86a10affb1f69054e4ab.zip
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 'posix/Makefile')
-rw-r--r--posix/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile
index cbc4bc6708..aeb9890ba9 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