dinput: Declare some functions static

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Jan 3 16:24:09 CST 2007


Changelog:
    dinput: Declare some functions static.

diff -urN a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c
--- a/dlls/dinput/joystick_linux.c	2006-12-28 14:19:55.000000000 +0000
+++ b/dlls/dinput/joystick_linux.c	2007-01-03 21:45:33.000000000 +0000
@@ -1214,11 +1214,11 @@
 /******************************************************************************
   *     GetObjectInfo : get object info
   */
-HRESULT WINAPI JoystickAImpl_GetObjectInfo(
-        LPDIRECTINPUTDEVICE8A iface,
-        LPDIDEVICEOBJECTINSTANCEA pdidoi,
-        DWORD dwObj,
-        DWORD dwHow)
+static HRESULT WINAPI JoystickAImpl_GetObjectInfo(
+    LPDIRECTINPUTDEVICE8A iface,
+    LPDIDEVICEOBJECTINSTANCEA pdidoi,
+    DWORD dwObj,
+    DWORD dwHow)
 {
     JoystickImpl *This = (JoystickImpl *)iface;
     DIDEVICEOBJECTINSTANCEA didoiA;
@@ -1302,7 +1302,7 @@
 /******************************************************************************
   *     GetDeviceInfo : get information about a device's identity
   */
-HRESULT WINAPI JoystickAImpl_GetDeviceInfo(
+static HRESULT WINAPI JoystickAImpl_GetDeviceInfo(
     LPDIRECTINPUTDEVICE8A iface,
     LPDIDEVICEINSTANCEA pdidi)
 {
@@ -1342,7 +1342,7 @@
 /******************************************************************************
   *     GetDeviceInfo : get information about a device's identity
   */
-HRESULT WINAPI JoystickWImpl_GetDeviceInfo(
+static HRESULT WINAPI JoystickWImpl_GetDeviceInfo(
     LPDIRECTINPUTDEVICE8W iface,
     LPDIDEVICEINSTANCEW pdidi)
 {
diff -urN a/dlls/dinput/keyboard.c b/dlls/dinput/keyboard.c
--- a/dlls/dinput/keyboard.c	2006-12-29 22:29:46.000000000 +0000
+++ b/dlls/dinput/keyboard.c	2007-01-03 22:07:10.000000000 +0000
@@ -61,7 +61,7 @@
 
 static BYTE DInputKeyState[WINE_DINPUT_KEYBOARD_MAX_KEYS]; /* array for 'GetDeviceState' */
 
-LRESULT CALLBACK KeyboardCallback( int code, WPARAM wparam, LPARAM lparam )
+static LRESULT CALLBACK KeyboardCallback( int code, WPARAM wparam, LPARAM lparam )
 {
     SysKeyboardImpl *This = (SysKeyboardImpl *)current_lock;
     int dik_code;



More information about the wine-patches mailing list