Add missing void in named_config_getdefault() definition

Merged Ondřej Surý requested to merge ondrej-add-missing-void-in-named_config_default into main

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.

Merge request reports