Cleanup kernel usage to decrease compilation time/memory
Modified: trunk/reactos/lib/kernel32/k32.h
Modified: trunk/reactos/lib/kernel32/misc/computername.c
Modified: trunk/reactos/lib/kernel32/misc/toolhelp.c
Modified: trunk/reactos/lib/kernel32/misc/version.c
Modified: trunk/reactos/lib/kernel32/process/create.c
Modified: trunk/reactos/lib/kernel32/thread/fiber.c
Modified: trunk/reactos/lib/kernel32/thread/thread.c

Modified: trunk/reactos/lib/kernel32/k32.h
--- trunk/reactos/lib/kernel32/k32.h	2005-06-20 04:18:03 UTC (rev 16135)
+++ trunk/reactos/lib/kernel32/k32.h	2005-06-20 04:30:23 UTC (rev 16136)
@@ -28,14 +28,6 @@
 #include <ntdll/csr.h>
 #include <ntdll/ldr.h>
 
-/* Toolhelp & CSRSS Header */
-#include <tlhelp32.h>
-#include <csrss/csrss.h>
-
-/* FIXME: KILL ROSRTL */
-#include <rosrtl/thread.h>
-#include <rosrtl/registry.h>
-
 /* Internal Kernel32 Header */
 #include "include/kernel32.h"
 
@@ -44,5 +36,5 @@
 
 /* Helper Header */
 #include <reactos/helper.h>
-#include <reactos/buildno.h>
 
+/* EOF */

Modified: trunk/reactos/lib/kernel32/misc/computername.c
--- trunk/reactos/lib/kernel32/misc/computername.c	2005-06-20 04:18:03 UTC (rev 16135)
+++ trunk/reactos/lib/kernel32/misc/computername.c	2005-06-20 04:30:23 UTC (rev 16136)
@@ -29,6 +29,9 @@
 
 #include <k32.h>
 
+/* FIXME */
+#include <rosrtl/registry.h> 
+
 #define NDEBUG
 #include "../include/debug.h"
 

Modified: trunk/reactos/lib/kernel32/misc/toolhelp.c
--- trunk/reactos/lib/kernel32/misc/toolhelp.c	2005-06-20 04:18:03 UTC (rev 16135)
+++ trunk/reactos/lib/kernel32/misc/toolhelp.c	2005-06-20 04:30:23 UTC (rev 16136)
@@ -38,6 +38,8 @@
 
 #include <k32.h>
 
+#include <tlhelp32.h>
+
 #define NDEBUG
 #include "../include/debug.h"
 

Modified: trunk/reactos/lib/kernel32/misc/version.c
--- trunk/reactos/lib/kernel32/misc/version.c	2005-06-20 04:18:03 UTC (rev 16135)
+++ trunk/reactos/lib/kernel32/misc/version.c	2005-06-20 04:30:23 UTC (rev 16136)
@@ -10,6 +10,7 @@
  */
 
 #include <k32.h>
+#include <reactos/buildno.h>
 
 #define NDEBUG
 #include "../include/debug.h"

Modified: trunk/reactos/lib/kernel32/process/create.c
--- trunk/reactos/lib/kernel32/process/create.c	2005-06-20 04:18:03 UTC (rev 16135)
+++ trunk/reactos/lib/kernel32/process/create.c	2005-06-20 04:30:23 UTC (rev 16136)
@@ -12,8 +12,10 @@
 /* INCLUDES ****************************************************************/
 
 #include <k32.h>
-#include <pseh/framebased.h>
 
+/* FIXME */
+#include <rosrtl/thread.h>
+
 #define NDEBUG
 #include "../include/debug.h"
 

Modified: trunk/reactos/lib/kernel32/thread/fiber.c
--- trunk/reactos/lib/kernel32/thread/fiber.c	2005-06-20 04:18:03 UTC (rev 16135)
+++ trunk/reactos/lib/kernel32/thread/fiber.c	2005-06-20 04:30:23 UTC (rev 16136)
@@ -7,6 +7,9 @@
  */
 #include <k32.h>
 
+/* FIXME */
+#include <rosrtl/thread.h>
+
 #define NDEBUG
 #include "../include/debug.h"
 

Modified: trunk/reactos/lib/kernel32/thread/thread.c
--- trunk/reactos/lib/kernel32/thread/thread.c	2005-06-20 04:18:03 UTC (rev 16135)
+++ trunk/reactos/lib/kernel32/thread/thread.c	2005-06-20 04:30:23 UTC (rev 16136)
@@ -15,6 +15,9 @@
 
 #include <k32.h>
 
+/* FIXME */
+#include <rosrtl/thread.h>
+
 #define NDEBUG
 #include "../include/debug.h"