winebus.sys: Make hid_device_get_report_descriptor() static.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9b63ea13f3
commit
26ff79c37d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue