1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

winebus.sys: Ensure unixlib function tables and enum stay in sync.

This commit is contained in:
Brendan Shanks 2023-08-31 14:19:51 -07:00 committed by Alexandre Julliard
parent 9139d8705d
commit 516c6af58e
2 changed files with 3 additions and 0 deletions

View File

@ -351,6 +351,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
unix_device_set_feature_report,
};
C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count);
void bus_event_cleanup(struct bus_event *event)
{
struct unix_device *iface = (struct unix_device *)(UINT_PTR)event->device;

View File

@ -141,6 +141,7 @@ enum unix_funcs
device_set_output_report,
device_get_feature_report,
device_set_feature_report,
unix_funcs_count,
};
static inline const char *debugstr_device_desc(struct device_desc *desc)