From: Ed Maste Date: Thu, 25 May 2023 14:29:10 +0000 (-0400) Subject: Update declaration for function with no arguments X-Git-Tag: release-1.8.4-rc1~21^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bea9430b7765cc69d3f3ce9e61f6caae91e5ec51;p=thirdparty%2Fldns.git 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." --- 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) {