Tue, 21 Jan 2025 10:49:29 -0600
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.
Related to PIDGIN-18028, though I guess Gentoo didn't actually have the problem as they disabled Zephyr.
Testing Done:
Compiled with GCC15 without error.
Reviewed at https://reviews.imfreedom.org/r/3776/
| 14743 | 1 | #ifndef _MINIMIZE_TO_TRAY_H_ |
| 2 | #define _MINIMIZE_TO_TRAY_H_ | |
| 3 | ||
| 4 | void MinimizeWndToTray(HWND hWnd); | |
| 5 | void RestoreWndFromTray(HWND hWnd); | |
| 6 | ||
| 7 | #endif /* _MINIMIZE_TO_TRAY_H_ */ |