Commit 26ff79c3 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winebus.sys: Make hid_device_get_report_descriptor() static.

parent 9b63ea13
...@@ -1037,7 +1037,7 @@ static void hid_device_stop(struct unix_device *iface) ...@@ -1037,7 +1037,7 @@ static void hid_device_stop(struct unix_device *iface)
iface->hid_vtbl->stop(iface); iface->hid_vtbl->stop(iface);
} }
NTSTATUS hid_device_get_report_descriptor(struct unix_device *iface, BYTE *buffer, UINT length, UINT *out_length) static NTSTATUS hid_device_get_report_descriptor(struct unix_device *iface, BYTE *buffer, UINT length, UINT *out_length)
{ {
*out_length = iface->hid_report_descriptor.size; *out_length = iface->hid_report_descriptor.size;
if (length < iface->hid_report_descriptor.size) return STATUS_BUFFER_TOO_SMALL; if (length < iface->hid_report_descriptor.size) return STATUS_BUFFER_TOO_SMALL;
......
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