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:
Francois Gouget 2022-02-18 15:24:35 +01:00 committed by Alexandre Julliard
parent 9b63ea13f3
commit 26ff79c37d
1 changed files with 1 additions and 1 deletions

View File

@ -1037,7 +1037,7 @@ static void hid_device_stop(struct unix_device *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;
if (length < iface->hid_report_descriptor.size) return STATUS_BUFFER_TOO_SMALL;