Rémi Bernon : winebus.sys: Add missing static qualifiers in bus_sdl.c.

Alexandre Julliard julliard at winehq.org
Wed Feb 16 15:30:26 CST 2022


Module: wine
Branch: master
Commit: afe10430b596084658ddd44d69a272b1812ef245
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=afe10430b596084658ddd44d69a272b1812ef245

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Wed Feb 16 09:26:56 2022 +0100

winebus.sys: Add missing static qualifiers in bus_sdl.c.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winebus.sys/bus_sdl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/winebus.sys/bus_sdl.c b/dlls/winebus.sys/bus_sdl.c
index 93ba58ec9d6..c80b7ce324a 100644
--- a/dlls/winebus.sys/bus_sdl.c
+++ b/dlls/winebus.sys/bus_sdl.c
@@ -400,8 +400,8 @@ static void sdl_device_stop(struct unix_device *iface)
     pthread_mutex_unlock(&sdl_cs);
 }
 
-NTSTATUS sdl_device_haptics_start(struct unix_device *iface, UINT duration_ms,
-                                  USHORT rumble_intensity, USHORT buzz_intensity)
+static NTSTATUS sdl_device_haptics_start(struct unix_device *iface, UINT duration_ms,
+                                         USHORT rumble_intensity, USHORT buzz_intensity)
 {
     struct sdl_device *impl = impl_from_unix_device(iface);
     SDL_HapticEffect effect;
@@ -439,7 +439,7 @@ NTSTATUS sdl_device_haptics_start(struct unix_device *iface, UINT duration_ms,
     return STATUS_SUCCESS;
 }
 
-NTSTATUS sdl_device_haptics_stop(struct unix_device *iface)
+static NTSTATUS sdl_device_haptics_stop(struct unix_device *iface)
 {
     struct sdl_device *impl = impl_from_unix_device(iface);
 




More information about the wine-cvs mailing list