dinput: Remove WINAPI on static functions where not needed.
Vitaliy Margolen
wine-devel at kievinfo.com
Fri Nov 28 09:15:00 CST 2008
Francois Gouget wrote:
> ---
>
> If you know other places where the functions touched by this patch
> are used, please let me know. For more details, see:
>
> http://www.winehq.org/pipermail/wine-patches/2008-November/064995.html
>
>
> dlls/dinput/joystick_linux.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c
> index 4146f1d..47c734d 100644
> --- a/dlls/dinput/joystick_linux.c
> +++ b/dlls/dinput/joystick_linux.c
> @@ -966,7 +966,7 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(
> /******************************************************************************
> * GetObjectInfo : get object info
> */
> -static HRESULT WINAPI JoystickWImpl_GetObjectInfo(LPDIRECTINPUTDEVICE8W iface,
> +static HRESULT JoystickWImpl_GetObjectInfo(LPDIRECTINPUTDEVICE8W iface,
> LPDIDEVICEOBJECTINSTANCEW pdidoi, DWORD dwObj, DWORD dwHow)
> {
> static const WCHAR axisW[] = {'A','x','i','s',' ','%','d',0};
Please don't apply this patch. This function should be used in vtable but
isn't by mistake. Sending a patch to fix this.
Vitaliy.
More information about the wine-devel
mailing list