Index: trunk/src/kernel32/KERNEL32.CPP
===================================================================
--- trunk/src/kernel32/KERNEL32.CPP	(revision 232)
+++ trunk/src/kernel32/KERNEL32.CPP	(revision 233)
@@ -1,3 +1,3 @@
-/* $Id: KERNEL32.CPP,v 1.7 1999-06-21 23:23:36 phaller Exp $ */
+/* $Id: KERNEL32.CPP,v 1.8 1999-06-28 07:55:16 sandervl Exp $ */
 
 /*
@@ -113,35 +113,4 @@
   return (HMSetStdHandle(IDStdHandle,
                          hHandle));
-}
-//******************************************************************************
-//******************************************************************************
-DWORD WIN32API TlsAlloc()
-{
-  dprintf(("KERNEL32:  TlsAlloc\n"));
-  return(O32_TlsAlloc());
-}
-//******************************************************************************
-//******************************************************************************
-BOOL WIN32API TlsFree(DWORD index)
-{
-  dprintf(("KERNEL32:  TlsFree\n"));
-  return(O32_TlsFree(index));
-}
-//******************************************************************************
-//******************************************************************************
-LPVOID WIN32API TlsGetValue(DWORD index)
-{
- LPVOID rc;
-
-  rc = O32_TlsGetValue(index);
-//  dprintf(("KERNEL32:  TlsGetValue %d returned %X\n", index, rc));
-  return(rc);
-}
-//******************************************************************************
-//******************************************************************************
-BOOL WIN32API TlsSetValue(DWORD index, LPVOID val)
-{
-//  dprintf(("KERNEL32:  TlsSetValue\n"));
-  return(O32_TlsSetValue(index, val));
 }
 //******************************************************************************
Index: trunk/src/kernel32/makefile
===================================================================
--- trunk/src/kernel32/makefile	(revision 232)
+++ trunk/src/kernel32/makefile	(revision 233)
@@ -1,3 +1,3 @@
-# $Id: makefile,v 1.8 1999-06-20 10:55:36 sandervl Exp $
+# $Id: makefile,v 1.9 1999-06-28 07:55:16 sandervl Exp $
 
 #
@@ -65,4 +65,5 @@
        pefile.OBJ \
        winimgres.OBJ \
+       tls.obj \
        async.OBJ \
        fileio.obj \
@@ -120,4 +121,6 @@
     $(PDWIN32_INCLUDE)\unicode.h
 
+tls.obj: tls.cpp
+
 fileio.obj: fileio.cpp \
     $(PDWIN32_INCLUDE)\unicode.h
Index: trunk/src/kernel32/tls.cpp
===================================================================
--- trunk/src/kernel32/tls.cpp	(revision 233)
+++ trunk/src/kernel32/tls.cpp	(revision 233)
@@ -0,0 +1,45 @@
+/* $Id: tls.cpp,v 1.1 1999-06-28 07:55:33 sandervl Exp $ */
+/*
+ * Win32 TLS API functions
+ *
+ * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl)
+ *
+ *
+ * Project Odin Software License can be found in LICENSE.TXT
+ *
+ */
+#include <os2win.h>
+
+//******************************************************************************
+//******************************************************************************
+DWORD WIN32API TlsAlloc()
+{
+  dprintf(("KERNEL32:  TlsAlloc\n"));
+  return(O32_TlsAlloc());
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WIN32API TlsFree(DWORD index)
+{
+  dprintf(("KERNEL32:  TlsFree\n"));
+  return(O32_TlsFree(index));
+}
+//******************************************************************************
+//******************************************************************************
+LPVOID WIN32API TlsGetValue(DWORD index)
+{
+ LPVOID rc;
+
+  rc = O32_TlsGetValue(index);
+//  dprintf(("KERNEL32:  TlsGetValue %d returned %X\n", index, rc));
+  return(rc);
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WIN32API TlsSetValue(DWORD index, LPVOID val)
+{
+//  dprintf(("KERNEL32:  TlsSetValue\n"));
+  return(O32_TlsSetValue(index, val));
+}
+//******************************************************************************
+//******************************************************************************
