diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c index 914d05deca..a5d6aad94c 100644 --- a/dlls/dinput/joystick_linux.c +++ b/dlls/dinput/joystick_linux.c @@ -1214,11 +1214,11 @@ static HRESULT WINAPI JoystickAImpl_GetProperty( /****************************************************************************** * 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_GetObjectInfo( /****************************************************************************** * 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_GetDeviceInfo( /****************************************************************************** * 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 f217e9acd3..ce04ff9702 100644 --- a/dlls/dinput/keyboard.c +++ b/dlls/dinput/keyboard.c @@ -61,7 +61,7 @@ static SysKeyboardImpl* current_lock = NULL; 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;