Commit 111e0cbd authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent 63c0f01c
...@@ -1796,7 +1796,7 @@ static NTSTATUS unix_set_event_handle(void *args) ...@@ -1796,7 +1796,7 @@ static NTSTATUS unix_set_event_handle(void *args)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
unixlib_entry_t __wine_unix_call_funcs[] = const unixlib_entry_t __wine_unix_call_funcs[] =
{ {
unix_process_attach, unix_process_attach,
unix_not_implemented, unix_not_implemented,
...@@ -1834,6 +1834,8 @@ unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -1834,6 +1834,8 @@ unixlib_entry_t __wine_unix_call_funcs[] =
unix_not_implemented, unix_not_implemented,
}; };
C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == funcs_count);
#ifdef _WIN64 #ifdef _WIN64
typedef UINT PTR32; typedef UINT PTR32;
...@@ -2249,7 +2251,7 @@ static NTSTATUS unix_wow64_get_prop_value(void *args) ...@@ -2249,7 +2251,7 @@ static NTSTATUS unix_wow64_get_prop_value(void *args)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
unixlib_entry_t __wine_unix_call_wow64_funcs[] = const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
{ {
unix_process_attach, unix_process_attach,
unix_not_implemented, unix_not_implemented,
...@@ -2287,4 +2289,6 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -2287,4 +2289,6 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] =
unix_not_implemented, unix_not_implemented,
}; };
C_ASSERT(ARRAYSIZE(__wine_unix_call_wow64_funcs) == funcs_count);
#endif /* _WIN64 */ #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