msrle32: Declare some functions static
Andrew Talbot
Andrew.Talbot at talbotville.com
Fri Jan 12 11:25:44 CST 2007
Changelog:
msrle32: Declare some functions static.
diff -urN a/dlls/msrle32/msrle32.c b/dlls/msrle32/msrle32.c
--- a/dlls/msrle32/msrle32.c 2007-01-10 12:33:34.000000000 +0000
+++ b/dlls/msrle32/msrle32.c 2007-01-12 17:23:00.000000000 +0000
@@ -38,12 +38,12 @@
#define SQR(a) ((a) * (a))
#define QUALITY_to_DIST(q) (ICQUALITY_HIGH - q)
-inline WORD ColorCmp(WORD clr1, WORD clr2)
+static inline WORD ColorCmp(WORD clr1, WORD clr2)
{
register UINT a = (clr1-clr2);
return SQR(a);
}
-inline WORD Intensity(RGBQUAD clr)
+static inline WORD Intensity(RGBQUAD clr)
{
return (30 * clr.rgbRed + 59 * clr.rgbGreen + 11 * clr.rgbBlue)/4;
}
More information about the wine-patches
mailing list