Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2023 15:54:04 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 14b57ade9416 - main - zlib: Silence -Wstrict-prototype warnings.
Message-ID:  <202304241554.33OFs4s4099847@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304241554.33OFs4s4099847>