Author: tfaber
Date: Fri Aug 5 21:33:54 2016
New Revision: 72118
URL:
http://svn.reactos.org/svn/reactos?rev=72118&view=rev
Log:
[CRT]
- Remove pointless inline
CORE-11794
Modified:
trunk/reactos/sdk/lib/crt/include/internal/tls.h
trunk/reactos/sdk/lib/crt/misc/tls.c
Modified: trunk/reactos/sdk/lib/crt/include/internal/tls.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/include/intern…
==============================================================================
--- trunk/reactos/sdk/lib/crt/include/internal/tls.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/include/internal/tls.h [iso-8859-1] Fri Aug 5 21:33:54
2016
@@ -57,10 +57,10 @@
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
Modified: trunk/reactos/sdk/lib/crt/misc/tls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/misc/tls.c?rev…
==============================================================================
--- trunk/reactos/sdk/lib/crt/misc/tls.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/misc/tls.c [iso-8859-1] Fri Aug 5 21:33:54 2016
@@ -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 @@
return TRUE;
}
-inline BOOL msvcrt_free_tls(void)
+BOOL msvcrt_free_tls(void)
{
if (!TlsFree(msvcrt_tls_index))
{
@@ -48,7 +48,7 @@
return ptr;
}
-inline void msvcrt_free_tls_mem(void)
+void msvcrt_free_tls_mem(void)
{
thread_data_t *tls = TlsGetValue(msvcrt_tls_index);