git: 14b57ade9416 - main - zlib: Silence -Wstrict-prototype warnings.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 24 Apr 2023 15:54:04 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=14b57ade94168bb6988859892effef5e1868f9b2

commit 14b57ade94168bb6988859892effef5e1868f9b2
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-04-24 15:53:49 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-04-24 15:53:49 +0000

    zlib: Silence -Wstrict-prototype warnings.
    
    Presumably upstream will fix this eventually.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D39724
---
 lib/libz/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}