dinput: Declare a function static
Vitaliy Margolen
wine-devel at kievinfo.com
Thu Jan 4 11:20:47 CST 2007
Andrew Talbot wrote:
> Note: This is in addition to those submitted yesterday.
>
> -- Andy.
> ---
> Changelog:
> dinput: Declare a function static.
>
> diff -urN a/dlls/dinput/device.c b/dlls/dinput/device.c
> --- a/dlls/dinput/device.c 2007-01-04 11:22:23.000000000 +0000
> +++ b/dlls/dinput/device.c 2007-01-04 13:38:38.000000000 +0000
> @@ -294,7 +294,7 @@
> format->user_df = NULL;
> }
>
> -inline LPDIOBJECTDATAFORMAT dataformat_to_odf(LPCDIDATAFORMAT df, int idx)
> +static inline LPDIOBJECTDATAFORMAT dataformat_to_odf(LPCDIDATAFORMAT df, int idx)
> {
> if (idx < 0 || idx >= df->dwNumObjs) return NULL;
> return (LPDIOBJECTDATAFORMAT)((LPBYTE)df->rgodf + idx * df->dwObjSize);
>
Please don't commit this one. It's a "work in progress" and I will need
this function in other places.
Vitaliy
More information about the wine-devel
mailing list