Commit 516c6af5 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent 9139d870
...@@ -351,6 +351,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -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 ...@@ -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)
......
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