Commit 63c0f01c authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent 59267189
......@@ -332,4 +332,5 @@ enum unix_funcs
midi_in_message,
midi_notify_wait,
aux_message,
funcs_count
};
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment