msvcp60: Make _Lockit_ctor_locktype() static.

Francois Gouget fgouget at free.fr
Thu Jun 28 10:01:04 CDT 2012


---

Unlike in msvcp90, it is not used elsewhere in msvcp60.

 dlls/msvcp60/misc.c  |    2 +-
 dlls/msvcp60/msvcp.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/msvcp60/misc.c b/dlls/msvcp60/misc.c
index 61cf4a5..7fd234f 100644
--- a/dlls/msvcp60/misc.c
+++ b/dlls/msvcp60/misc.c
@@ -101,7 +101,7 @@ void free_lockit(void) {
     DeleteCriticalSection(&lockit_cs);
 }
 
-_Lockit* __thiscall _Lockit_ctor_locktype(_Lockit *this, int locktype)
+static _Lockit* __thiscall _Lockit_ctor_locktype(_Lockit *this, int locktype)
 {
     EnterCriticalSection(&lockit_cs);
     return this;
diff --git a/dlls/msvcp60/msvcp.h b/dlls/msvcp60/msvcp.h
index 27d5366..7a4c041 100644
--- a/dlls/msvcp60/msvcp.h
+++ b/dlls/msvcp60/msvcp.h
@@ -266,7 +266,6 @@ typedef struct {
 
 void init_lockit(void);
 void free_lockit(void);
-_Lockit* __thiscall _Lockit_ctor_locktype(_Lockit*, int);
 void __thiscall _Lockit_dtor(_Lockit*);
 
 /* class mutex */
-- 
1.7.10




More information about the wine-patches mailing list