aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-04-24 15:53:49 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-04-24 15:53:49 +0000
commit14b57ade94168bb6988859892effef5e1868f9b2 (patch)
treee664fdfed57f985e789635a6817c26c906ba0adc
parentc94e4d91da37f6216f3c9cd128e508fd334f06e8 (diff)
downloadsrc-14b57ade94168bb6988859892effef5e1868f9b2.tar.gz
src-14b57ade94168bb6988859892effef5e1868f9b2.zip
zlib: Silence -Wstrict-prototype warnings.
Presumably upstream will fix this eventually. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39724
-rw-r--r--lib/libz/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index abc490980deb..734da7fa539d 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -84,4 +84,4 @@ PCFILES= zlib.pc
.include <bsd.lib.mk>
-CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}
+CWARNFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE} ${NO_WSTRICT_PROTOTYPES}