mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-20 20:44:10 +00:00
winebus.sys: Ensure unixlib function tables and enum stay in sync.
This commit is contained in:
parent
9139d8705d
commit
516c6af58e
|
@ -351,6 +351,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
|
||||||
unix_device_set_feature_report,
|
unix_device_set_feature_report,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count);
|
||||||
|
|
||||||
void bus_event_cleanup(struct bus_event *event)
|
void bus_event_cleanup(struct bus_event *event)
|
||||||
{
|
{
|
||||||
struct unix_device *iface = (struct unix_device *)(UINT_PTR)event->device;
|
struct unix_device *iface = (struct unix_device *)(UINT_PTR)event->device;
|
||||||
|
|
|
@ -141,6 +141,7 @@ enum unix_funcs
|
||||||
device_set_output_report,
|
device_set_output_report,
|
||||||
device_get_feature_report,
|
device_get_feature_report,
|
||||||
device_set_feature_report,
|
device_set_feature_report,
|
||||||
|
unix_funcs_count,
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline const char *debugstr_device_desc(struct device_desc *desc)
|
static inline const char *debugstr_device_desc(struct device_desc *desc)
|
||||||
|
|
Loading…
Reference in a new issue