1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winealsa: Ensure unixlib function tables and enum stay in sync.

This commit is contained in:
Brendan Shanks 2023-09-14 21:21:48 -07:00 committed by Alexandre Julliard
parent 5926718925
commit 63c0f01c96
2 changed files with 7 additions and 2 deletions

View file

@ -332,4 +332,5 @@ enum unix_funcs
midi_in_message,
midi_notify_wait,
aux_message,
funcs_count
};

View file

@ -2504,7 +2504,7 @@ static NTSTATUS alsa_get_prop_value(void *args)
return STATUS_SUCCESS;
}
unixlib_entry_t __wine_unix_call_funcs[] =
const unixlib_entry_t __wine_unix_call_funcs[] =
{
alsa_process_attach,
alsa_not_implemented,
@ -2542,6 +2542,8 @@ unixlib_entry_t __wine_unix_call_funcs[] =
alsa_not_implemented,
};
C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == funcs_count);
#ifdef _WIN64
typedef UINT PTR32;
@ -2958,7 +2960,7 @@ static NTSTATUS alsa_wow64_get_prop_value(void *args)
return STATUS_SUCCESS;
}
unixlib_entry_t __wine_unix_call_wow64_funcs[] =
const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
{
alsa_process_attach,
alsa_not_implemented,
@ -2996,4 +2998,6 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] =
alsa_not_implemented,
};
C_ASSERT(ARRAYSIZE(__wine_unix_call_wow64_funcs) == funcs_count);
#endif /* _WIN64 */