[PATCH] winebus.sys: Make hid_device_get_report_descriptor() static.

Francois Gouget fgouget at free.fr
Fri Feb 18 08:24:35 CST 2022


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/winebus.sys/hid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winebus.sys/hid.c b/dlls/winebus.sys/hid.c
index 1b2681fdb94..64e4f2955ae 100644
--- a/dlls/winebus.sys/hid.c
+++ b/dlls/winebus.sys/hid.c
@@ -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;
-- 
2.30.2




More information about the wine-devel mailing list