Commit 59267189 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent e6219bee
...@@ -117,7 +117,7 @@ static NTSTATUS capi_isinstalled( void *args ) ...@@ -117,7 +117,7 @@ static NTSTATUS capi_isinstalled( void *args )
return capi20_isinstalled(); return capi20_isinstalled();
} }
unixlib_entry_t __wine_unix_call_funcs[] = const unixlib_entry_t __wine_unix_call_funcs[] =
{ {
capi_register, capi_register,
capi_release, capi_release,
...@@ -130,3 +130,5 @@ unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -130,3 +130,5 @@ unixlib_entry_t __wine_unix_call_funcs[] =
capi_get_profile, capi_get_profile,
capi_isinstalled, capi_isinstalled,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
...@@ -93,4 +93,5 @@ enum capi20_funcs ...@@ -93,4 +93,5 @@ enum capi20_funcs
unix_get_serial_number, unix_get_serial_number,
unix_get_profile, unix_get_profile,
unix_isinstalled, unix_isinstalled,
unix_funcs_count
}; };
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