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

This commit is contained in:
Brendan Shanks 2023-10-23 20:19:00 -05:00 committed by Alexandre Julliard
parent 4dc31f923b
commit 2c487406ae
2 changed files with 5 additions and 0 deletions

View file

@ -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 */

View file

@ -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
};