Module: wine Branch: master Commit: ca86155b1acc6e3ce5cd47d00fd95d5e0958ae5e URL: https://gitlab.winehq.org/wine/wine/-/commit/ca86155b1acc6e3ce5cd47d00fd95d5... Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Thu Sep 14 21:23:32 2023 -0700 winepulse: Ensure unixlib function tables and enum stay in sync. --- dlls/winepulse.drv/pulse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/winepulse.drv/pulse.c b/dlls/winepulse.drv/pulse.c index 370c361b02f..0ddddb00185 100644 --- a/dlls/winepulse.drv/pulse.c +++ b/dlls/winepulse.drv/pulse.c @@ -2572,6 +2572,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = pulse_not_implemented, }; +C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == funcs_count); + #ifdef _WIN64 typedef UINT PTR32; @@ -3041,4 +3043,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = pulse_not_implemented, }; +C_ASSERT(ARRAYSIZE(__wine_unix_call_wow64_funcs) == funcs_count); + #endif /* _WIN64 */