git: 4ef3b0c138d4 - main - ldns: Silence -Wstrict-prototypes warnings.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 May 2023 14:12:14 UTC
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}