Andrew Talbot : msctf: Declare some variables static.

Alexandre Julliard julliard at winehq.org
Fri Jan 30 07:58:13 CST 2009


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Jan 29 22:12:30 2009 +0000

msctf: Declare some variables static.

---

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

diff --git a/dlls/msctf/msctf.c b/dlls/msctf/msctf.c
index 76ed99d..254444b 100644
--- a/dlls/msctf/msctf.c
+++ b/dlls/msctf/msctf.c
@@ -39,9 +39,9 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(msctf);
 
-LONG MSCTF_refCount = 0;
+static LONG MSCTF_refCount;
 
-HINSTANCE MSCTF_hinstance = 0;
+static HINSTANCE MSCTF_hinstance;
 
 typedef HRESULT (*LPFNCONSTRUCTOR)(IUnknown *pUnkOuter, IUnknown **ppvOut);
 




More information about the wine-cvs mailing list