mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
[CRT]
- Remove pointless inline CORE-11794 svn path=/trunk/; revision=72118
This commit is contained in:
parent
b515da6e1e
commit
3e8de0c105
2 changed files with 6 additions and 6 deletions
|
@ -57,10 +57,10 @@ struct __thread_data {
|
|||
|
||||
typedef struct __thread_data thread_data_t;
|
||||
|
||||
extern inline BOOL msvcrt_init_tls(void);
|
||||
extern inline BOOL msvcrt_free_tls(void);
|
||||
extern BOOL msvcrt_init_tls(void);
|
||||
extern BOOL msvcrt_free_tls(void);
|
||||
extern thread_data_t *msvcrt_get_thread_data(void);
|
||||
extern inline void msvcrt_free_tls_mem(void);
|
||||
extern void msvcrt_free_tls_mem(void);
|
||||
|
||||
#define MSVCRT_ENABLE_PER_THREAD_LOCALE 1
|
||||
#define MSVCRT_DISABLE_PER_THREAD_LOCALE 2
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* Index to TLS */
|
||||
static DWORD msvcrt_tls_index;
|
||||
|
||||
inline BOOL msvcrt_init_tls(void)
|
||||
BOOL msvcrt_init_tls(void)
|
||||
{
|
||||
msvcrt_tls_index = TlsAlloc();
|
||||
|
||||
|
@ -18,7 +18,7 @@ inline BOOL msvcrt_init_tls(void)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
inline BOOL msvcrt_free_tls(void)
|
||||
BOOL msvcrt_free_tls(void)
|
||||
{
|
||||
if (!TlsFree(msvcrt_tls_index))
|
||||
{
|
||||
|
@ -48,7 +48,7 @@ thread_data_t *msvcrt_get_thread_data(void)
|
|||
return ptr;
|
||||
}
|
||||
|
||||
inline void msvcrt_free_tls_mem(void)
|
||||
void msvcrt_free_tls_mem(void)
|
||||
{
|
||||
thread_data_t *tls = TlsGetValue(msvcrt_tls_index);
|
||||
|
||||
|
|
Loading…
Reference in a new issue