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

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

parent f71315c8
...@@ -985,6 +985,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -985,6 +985,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
change_password, change_password,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64 #ifdef _WIN64
typedef ULONG PTR32; typedef ULONG PTR32;
...@@ -1102,6 +1104,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -1102,6 +1104,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_change_password, wow64_change_password,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */ #endif /* _WIN64 */
#endif /* SONAME_LIBNETAPI */ #endif /* SONAME_LIBNETAPI */
...@@ -67,4 +67,5 @@ enum samba_funcs ...@@ -67,4 +67,5 @@ enum samba_funcs
unix_share_del, unix_share_del,
unix_wksta_getinfo, unix_wksta_getinfo,
unix_change_password, unix_change_password,
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