Commit 495e1a0c authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent aeea4594
...@@ -510,6 +510,7 @@ enum unix_funcs ...@@ -510,6 +510,7 @@ enum unix_funcs
unix_import_store_cert, unix_import_store_cert,
unix_close_cert_store, unix_close_cert_store,
unix_enum_root_certs, unix_enum_root_certs,
unix_funcs_count,
}; };
#define CRYPT32_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params ) #define CRYPT32_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
......
...@@ -695,6 +695,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -695,6 +695,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
enum_root_certs, enum_root_certs,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64 #ifdef _WIN64
typedef ULONG PTR32; typedef ULONG PTR32;
...@@ -796,4 +798,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -796,4 +798,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_enum_root_certs, wow64_enum_root_certs,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_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