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

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

parent 4dc31f92
......@@ -498,6 +498,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
wrap_tstamp_type_val_to_name,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
......@@ -961,6 +963,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_tstamp_type_val_to_name,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */
#endif /* HAVE_PCAP_PCAP_H */
......@@ -379,4 +379,5 @@ enum pcap_funcs
unix_tstamp_type_name_to_val,
unix_tstamp_type_val_to_description,
unix_tstamp_type_val_to_name,
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