Commit 2e2f9bdb authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent 2c487406
...@@ -354,6 +354,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -354,6 +354,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
scard_set_attrib, scard_set_attrib,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64 #ifdef _WIN64
typedef ULONG PTR32; typedef ULONG PTR32;
...@@ -705,4 +707,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -705,4 +707,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_scard_set_attrib, wow64_scard_set_attrib,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */ #endif /* _WIN64 */
...@@ -184,4 +184,5 @@ enum winscard_funcs ...@@ -184,4 +184,5 @@ enum winscard_funcs
unix_scard_control, unix_scard_control,
unix_scard_get_attrib, unix_scard_get_attrib,
unix_scard_set_attrib, unix_scard_set_attrib,
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