From bea9430b7765cc69d3f3ce9e61f6caae91e5ec51 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 25 May 2023 10:29:10 -0400 Subject: [PATCH] Update declaration for function with no arguments With -Wstrict-prototypes clang warns that "a function declaration without a prototype is deprecated in all versions of C." --- edns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edns.c b/edns.c index 3d002d67..aa4a3f29 100644 --- a/edns.c +++ b/edns.c @@ -167,7 +167,7 @@ ldns_edns_free(ldns_edns_option *edns) } ldns_edns_option_list* -ldns_edns_option_list_new() +ldns_edns_option_list_new(void) { ldns_edns_option_list *option_list = LDNS_MALLOC(ldns_edns_option_list); if(!option_list) {