Fix invalid prototypes that will break with C23

Review Request #3776 — Created Jan. 21, 2025 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y

Reviewers

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.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Fix invalid prototypes that will break with C23
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.
2057622485649b57a6428cea571dae7ff8e3d13e Elliott Sales de Andrade
configure.ac
libpurple/protocols/zephyr/ZSendList.c
libpurple/protocols/zephyr/ZSendNot.c
libpurple/protocols/zephyr/zephyr_internal.h
Loading...