git: de0009f001c2 - main - libz: silence K&R warns
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Mar 2023 18:22:40 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=de0009f001c2aa0bfb9349d9e08199c46b1af707
commit de0009f001c2aa0bfb9349d9e08199c46b1af707
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-16 18:22:24 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-03-16 18:22:24 +0000
libz: silence K&R warns
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
lib/libz/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index d8d466805649..4a6e3c91a828 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