Fix invalid prototypes that will break with C23
Review Request #3776 — Created Jan. 21, 2025 and submitted — Latest diff uploaded
Using
function()
used to mean "any number" of parameters, but as of C23, this
is now aligned with C++ and means zero parameters. This will cause build
failures due to mismatched function parameters in GCC15, which switched to C23
by default.Related to PIDGIN-18028, though I guess Gentoo didn't actually have the problem as they disabled Zephyr.
Compiled with GCC15 without error.