Andrew Talbot : msrle32: Declare some functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 12 13:55:17 CST 2007


Module: wine
Branch: master
Commit: ba313be7b286fcc115bf821b1ec4ccbe207f35f7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ba313be7b286fcc115bf821b1ec4ccbe207f35f7

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Fri Jan 12 17:25:44 2007 +0000

msrle32: Declare some functions static.

---

 dlls/msrle32/msrle32.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msrle32/msrle32.c b/dlls/msrle32/msrle32.c
index 96a0807..5decd74 100644
--- a/dlls/msrle32/msrle32.c
+++ b/dlls/msrle32/msrle32.c
@@ -38,12 +38,12 @@ static HINSTANCE MSRLE32_hModule = 0;
 #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-cvs mailing list