The branch main has been updated by jhb:

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

commit 14b57ade94168bb6988859892effef5e1868f9b2
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2023-04-24 15:53:49 +0000
Commit:     John Baldwin <j...@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}

Reply via email to