dinput: Declare a function static
Andrew Talbot
Andrew.Talbot at talbotville.com
Thu Jan 4 11:08:46 CST 2007
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);
More information about the wine-patches
mailing list