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

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

parent 4c2c896a
......@@ -1072,7 +1072,7 @@ static NTSTATUS process_attach( void *args )
return STATUS_DLL_NOT_FOUND;
}
unixlib_entry_t __wine_unix_call_funcs[] =
const unixlib_entry_t __wine_unix_call_funcs[] =
{
process_attach,
accept_context,
......@@ -1088,6 +1088,8 @@ unixlib_entry_t __wine_unix_call_funcs[] =
verify_signature,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
......@@ -1392,7 +1394,7 @@ static NTSTATUS wow64_verify_signature( void *args )
return verify_signature( &params );
}
unixlib_entry_t __wine_unix_call_wow64_funcs[] =
const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
{
process_attach,
wow64_accept_context,
......@@ -1408,6 +1410,8 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_verify_signature,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */
#endif /* defined(SONAME_LIBKRB5) && defined(SONAME_LIBGSSAPI_KRB5) */
......@@ -137,6 +137,7 @@ enum unix_funcs
unix_seal_message,
unix_unseal_message,
unix_verify_signature,
unix_funcs_count,
};
#define KRB5_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
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