git: f7ddc6a1667f - stable/13 - libz: silence K&R warns
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 21:35:32 UTC
The branch stable/13 has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=f7ddc6a1667ffe4f6fa563f22debd10cc63ff637
commit f7ddc6a1667ffe4f6fa563f22debd10cc63ff637
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-16 18:22:24 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-04-09 14:56:49 +0000
libz: silence K&R warns
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit de0009f001c2aa0bfb9349d9e08199c46b1af707)
---
lib/libz/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index d6155b6955a6..11df0801a7b9 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -53,6 +53,7 @@ CFLAGS+= -DUNALIGNED_OK
VERSION_DEF= ${.CURDIR}/Versions.def
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
CFLAGS+= -DSYMBOL_VERSIONING
+CFLAGS+= ${NO_WDEPRECATED_NON_PROTOTYPE}
INCS= zconf.h zlib.h