mirror of
https://github.com/reactos/wine.git
synced 2025-04-03 08:31:55 +00:00
msvcrt: Make an internal function static, avoid a prototype.
This commit is contained in:
parent
365a463b1e
commit
ada9dc9d4b
@ -28,7 +28,18 @@ DWORD msvcrt_tls_index;
|
|||||||
|
|
||||||
static inline BOOL msvcrt_init_tls(void);
|
static inline BOOL msvcrt_init_tls(void);
|
||||||
static inline BOOL msvcrt_free_tls(void);
|
static inline BOOL msvcrt_free_tls(void);
|
||||||
const char* msvcrt_get_reason(DWORD reason);
|
|
||||||
|
static const char* msvcrt_get_reason(DWORD reason)
|
||||||
|
{
|
||||||
|
switch (reason)
|
||||||
|
{
|
||||||
|
case DLL_PROCESS_ATTACH: return "DLL_PROCESS_ATTACH";
|
||||||
|
case DLL_PROCESS_DETACH: return "DLL_PROCESS_DETACH";
|
||||||
|
case DLL_THREAD_ATTACH: return "DLL_THREAD_ATTACH";
|
||||||
|
case DLL_THREAD_DETACH: return "DLL_THREAD_DETACH";
|
||||||
|
}
|
||||||
|
return "UNKNOWN";
|
||||||
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* Init
|
* Init
|
||||||
@ -106,19 +117,6 @@ static inline BOOL msvcrt_free_tls(void)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* msvcrt_get_reason(DWORD reason)
|
|
||||||
{
|
|
||||||
switch (reason)
|
|
||||||
{
|
|
||||||
case DLL_PROCESS_ATTACH: return "DLL_PROCESS_ATTACH";
|
|
||||||
case DLL_PROCESS_DETACH: return "DLL_PROCESS_DETACH";
|
|
||||||
case DLL_THREAD_ATTACH: return "DLL_THREAD_ATTACH";
|
|
||||||
case DLL_THREAD_DETACH: return "DLL_THREAD_DETACH";
|
|
||||||
}
|
|
||||||
return "UNKNOWN";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* $I10_OUTPUT (MSVCRT.@)
|
* $I10_OUTPUT (MSVCRT.@)
|
||||||
* Function not really understood but needed to make the DLL work
|
* Function not really understood but needed to make the DLL work
|
||||||
|
Loading…
x
Reference in New Issue
Block a user