2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 18:19:42 +00:00

Add missing void in named_config_getdefault() definition

The named_config_getdefault() was missing void in the function
definition.  This broke clang-15 that didn't match the declaration that
had the void in the argument with the definition that hadn't.
This commit is contained in:
Ondřej Surý 2022-05-04 12:59:04 +02:00
parent 1d1395a916
commit 94209ce947

View File

@ -335,7 +335,7 @@ named_config_parsedefaults(cfg_parser_t *parser, cfg_obj_t **conf) {
}
const char *
named_config_getdefault() {
named_config_getdefault(void) {
return (defaultconf);
}