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

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

parent 863d29ca
...@@ -517,6 +517,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -517,6 +517,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
end_doc, end_doc,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64 #ifdef _WIN64
typedef ULONG PTR32; typedef ULONG PTR32;
...@@ -569,4 +571,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -569,4 +571,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
end_doc, end_doc,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */ #endif /* _WIN64 */
...@@ -195,6 +195,7 @@ enum cups_funcs ...@@ -195,6 +195,7 @@ enum cups_funcs
unix_start_doc, unix_start_doc,
unix_write_doc, unix_write_doc,
unix_end_doc, unix_end_doc,
unix_funcs_count
}; };
#endif /* __WINE_LOCALSPL_PRIVATE__ */ #endif /* __WINE_LOCALSPL_PRIVATE__ */
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