msvcp60: Make _Lockit_ctor_locktype() static.
This commit is contained in:
parent
1c640fd80b
commit
5dbdab59e5
|
@ -101,7 +101,7 @@ void free_lockit(void) {
|
||||||
DeleteCriticalSection(&lockit_cs);
|
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);
|
EnterCriticalSection(&lockit_cs);
|
||||||
return this;
|
return this;
|
||||||
|
|
|
@ -266,7 +266,6 @@ typedef struct {
|
||||||
|
|
||||||
void init_lockit(void);
|
void init_lockit(void);
|
||||||
void free_lockit(void);
|
void free_lockit(void);
|
||||||
_Lockit* __thiscall _Lockit_ctor_locktype(_Lockit*, int);
|
|
||||||
void __thiscall _Lockit_dtor(_Lockit*);
|
void __thiscall _Lockit_dtor(_Lockit*);
|
||||||
|
|
||||||
/* class mutex */
|
/* class mutex */
|
||||||
|
|
Loading…
Reference in New Issue