dinput: Declare some functions static.

This commit is contained in:
Andrew Talbot 2007-01-03 22:24:09 +00:00 committed by Alexandre Julliard
parent d39e1c360a
commit e946ce6b38
2 changed files with 8 additions and 8 deletions

View File

@ -1214,11 +1214,11 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(
/****************************************************************************** /******************************************************************************
* GetObjectInfo : get object info * GetObjectInfo : get object info
*/ */
HRESULT WINAPI JoystickAImpl_GetObjectInfo( static HRESULT WINAPI JoystickAImpl_GetObjectInfo(
LPDIRECTINPUTDEVICE8A iface, LPDIRECTINPUTDEVICE8A iface,
LPDIDEVICEOBJECTINSTANCEA pdidoi, LPDIDEVICEOBJECTINSTANCEA pdidoi,
DWORD dwObj, DWORD dwObj,
DWORD dwHow) DWORD dwHow)
{ {
JoystickImpl *This = (JoystickImpl *)iface; JoystickImpl *This = (JoystickImpl *)iface;
DIDEVICEOBJECTINSTANCEA didoiA; DIDEVICEOBJECTINSTANCEA didoiA;
@ -1302,7 +1302,7 @@ HRESULT WINAPI JoystickAImpl_GetObjectInfo(
/****************************************************************************** /******************************************************************************
* GetDeviceInfo : get information about a device's identity * GetDeviceInfo : get information about a device's identity
*/ */
HRESULT WINAPI JoystickAImpl_GetDeviceInfo( static HRESULT WINAPI JoystickAImpl_GetDeviceInfo(
LPDIRECTINPUTDEVICE8A iface, LPDIRECTINPUTDEVICE8A iface,
LPDIDEVICEINSTANCEA pdidi) LPDIDEVICEINSTANCEA pdidi)
{ {
@ -1342,7 +1342,7 @@ HRESULT WINAPI JoystickAImpl_GetDeviceInfo(
/****************************************************************************** /******************************************************************************
* GetDeviceInfo : get information about a device's identity * GetDeviceInfo : get information about a device's identity
*/ */
HRESULT WINAPI JoystickWImpl_GetDeviceInfo( static HRESULT WINAPI JoystickWImpl_GetDeviceInfo(
LPDIRECTINPUTDEVICE8W iface, LPDIRECTINPUTDEVICE8W iface,
LPDIDEVICEINSTANCEW pdidi) LPDIDEVICEINSTANCEW pdidi)
{ {

View File

@ -61,7 +61,7 @@ static SysKeyboardImpl* current_lock = NULL;
static BYTE DInputKeyState[WINE_DINPUT_KEYBOARD_MAX_KEYS]; /* array for 'GetDeviceState' */ 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; SysKeyboardImpl *This = (SysKeyboardImpl *)current_lock;
int dik_code; int dik_code;