Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2023 14:12:14 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: 4ef3b0c138d4 - main - ldns: Silence -Wstrict-prototypes warnings.
Message-ID:  <202305251412.34PECE5E045927@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=4ef3b0c138d4e51c34ef90054cdbdf79b9436d04

commit 4ef3b0c138d4e51c34ef90054cdbdf79b9436d04
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-05-25 14:11:38 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-25 14:11:38 +0000

    ldns: Silence -Wstrict-prototypes warnings.
    
    Hopefully upstream will fix the function declaration of
    ldns_edns_option_list_new in the future.
---
 lib/libldns/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libldns/Makefile b/lib/libldns/Makefile
index 7714db950f00..2692b2b29e2e 100644
--- a/lib/libldns/Makefile
+++ b/lib/libldns/Makefile
@@ -24,6 +24,7 @@ LIBADD=	ssl crypto
 
 WARNS?=	3
 
+CWARNFLAGS.edns.c=	${NO_WSTRICT_PROTOTYPES}
 CWARNFLAGS.parse.c=	${NO_WUSE_AFTER_FREE}
 CWARNFLAGS.sha2.c=	${NO_WARRAY_PARAMETER}
 



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