Andrew Talbot : dinput: Declare some functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 4 04:45:03 CST 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Wed Jan  3 22:24:09 2007 +0000

dinput: Declare some functions static.

---

 dlls/dinput/joystick_linux.c |   14 +++++++-------
 dlls/dinput/keyboard.c       |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c
index 914d05d..a5d6aad 100644
--- a/dlls/dinput/joystick_linux.c
+++ b/dlls/dinput/joystick_linux.c
@@ -1214,11 +1214,11 @@ static HRESULT WINAPI JoystickAImpl_GetP
 /******************************************************************************
   *     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 @@ HRESULT WINAPI JoystickAImpl_GetObjectIn
 /******************************************************************************
   *     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 @@ HRESULT WINAPI JoystickAImpl_GetDeviceIn
 /******************************************************************************
   *     GetDeviceInfo : get information about a device's identity
   */
-HRESULT WINAPI JoystickWImpl_GetDeviceInfo(
+static HRESULT WINAPI JoystickWImpl_GetDeviceInfo(
     LPDIRECTINPUTDEVICE8W iface,
     LPDIDEVICEINSTANCEW pdidi)
 {
diff --git a/dlls/dinput/keyboard.c b/dlls/dinput/keyboard.c
index f217e9a..ce04ff9 100644
--- a/dlls/dinput/keyboard.c
+++ b/dlls/dinput/keyboard.c
@@ -61,7 +61,7 @@ static SysKeyboardImpl* current_lock = N
 
 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-cvs mailing list