summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-11-15 10:41:11 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-11-15 10:41:11 +0000
commit1cb0eb071f1316d6650f354166506789a2638720 (patch)
tree87e6aa08b4bb76f3f3e11768db7aebdbcba60636
parent5c42da2ef1a50fc0c47d229743f96f9f6c0dace3 (diff)
downloadhaskell-1cb0eb071f1316d6650f354166506789a2638720.tar.gz
remove unused includes, now that Storage.h & Stable.h are included by Rts.h
-rw-r--r--rts/Adjustor.c3
-rw-r--r--rts/Capability.c1
-rw-r--r--rts/Disassembler.c1
-rw-r--r--rts/FrontPanel.c1
-rw-r--r--rts/HsFFI.c2
-rw-r--r--rts/Interpreter.c1
-rw-r--r--rts/LdvProfile.c1
-rw-r--r--rts/Linker.c2
-rw-r--r--rts/Printer.c1
-rw-r--r--rts/ProfHeap.c1
-rw-r--r--rts/Profiling.c1
-rw-r--r--rts/RaiseAsync.c1
-rw-r--r--rts/RetainerProfile.c2
-rw-r--r--rts/RtsAPI.c1
-rw-r--r--rts/RtsStartup.c1
-rw-r--r--rts/Typeable.c2
-rw-r--r--rts/Weak.c1
-rw-r--r--rts/posix/Signals.c2
-rw-r--r--rts/sm/Compact.c2
-rw-r--r--rts/sm/GC.c2
-rw-r--r--rts/win32/ConsoleHandler.c2
21 files changed, 0 insertions, 31 deletions
diff --git a/rts/Adjustor.c b/rts/Adjustor.c
index 8c950f79b4..813fcfed56 100644
--- a/rts/Adjustor.c
+++ b/rts/Adjustor.c
@@ -40,8 +40,6 @@ Haskell side.
#include "Rts.h"
#include "RtsExternal.h"
#include "RtsUtils.h"
-#include "Storage.h"
-#include "Stable.h"
#include <stdlib.h>
#if defined(_WIN32)
@@ -115,7 +113,6 @@ extern void obscure_ccall_ret_code(void);
#endif
#if defined(ia64_HOST_ARCH)
-#include "Storage.h"
/* Layout of a function descriptor */
typedef struct _IA64FunDesc {
diff --git a/rts/Capability.c b/rts/Capability.c
index 1d282f0902..f1c625ef7c 100644
--- a/rts/Capability.c
+++ b/rts/Capability.c
@@ -23,7 +23,6 @@
#include "STM.h"
#include "OSThreads.h"
#include "Capability.h"
-#include "Storage.h"
#include "Schedule.h"
#include "Sparks.h"
#include "Trace.h"
diff --git a/rts/Disassembler.c b/rts/Disassembler.c
index 8777b81c43..f29cce2daa 100644
--- a/rts/Disassembler.c
+++ b/rts/Disassembler.c
@@ -16,7 +16,6 @@
#include "RtsUtils.h"
#include "Closures.h"
#include "TSO.h"
-#include "Storage.h"
#include "Schedule.h"
#include "Bytecodes.h"
diff --git a/rts/FrontPanel.c b/rts/FrontPanel.c
index 579b75bab3..5dfe87ac33 100644
--- a/rts/FrontPanel.c
+++ b/rts/FrontPanel.c
@@ -15,7 +15,6 @@
#include "RtsUtils.h"
#include "MBlock.h"
#include "FrontPanel.h"
-#include "Storage.h"
#include "Stats.h"
#include "RtsFlags.h"
#include "Schedule.h"
diff --git a/rts/HsFFI.c b/rts/HsFFI.c
index d59c7a40a3..350bcfbdec 100644
--- a/rts/HsFFI.c
+++ b/rts/HsFFI.c
@@ -8,8 +8,6 @@
#include "HsFFI.h"
#include "Rts.h"
-#include "Storage.h"
-#include "Stable.h"
// hs_init and hs_exit are defined in RtsStartup.c
diff --git a/rts/Interpreter.c b/rts/Interpreter.c
index 62fe50530e..fba9e3f420 100644
--- a/rts/Interpreter.c
+++ b/rts/Interpreter.c
@@ -10,7 +10,6 @@
#include "RtsUtils.h"
#include "Closures.h"
#include "TSO.h"
-#include "Storage.h"
#include "Schedule.h"
#include "RtsFlags.h"
#include "LdvProfile.h"
diff --git a/rts/LdvProfile.c b/rts/LdvProfile.c
index 2f9f6ca40a..28aa326ede 100644
--- a/rts/LdvProfile.c
+++ b/rts/LdvProfile.c
@@ -14,7 +14,6 @@
#include "RtsFlags.h"
#include "Profiling.h"
#include "Stats.h"
-#include "Storage.h"
#include "RtsUtils.h"
#include "Schedule.h"
diff --git a/rts/Linker.c b/rts/Linker.c
index 107db26e1e..53def900f0 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -21,8 +21,6 @@
#include "RtsFlags.h"
#include "HsFFI.h"
#include "Hash.h"
-#include "Storage.h"
-#include "Stable.h"
#include "Linker.h"
#include "LinkerInternals.h"
#include "RtsUtils.h"
diff --git a/rts/Printer.c b/rts/Printer.c
index 671d76fbf8..666b7db6ce 100644
--- a/rts/Printer.c
+++ b/rts/Printer.c
@@ -15,7 +15,6 @@
#include "RtsFlags.h"
#include "MBlock.h"
-#include "Storage.h"
#include "Bytecodes.h" /* for InstrPtr */
#include "Disassembler.h"
#include "Apply.h"
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c
index 1878d9009f..4aecd0b5b3 100644
--- a/rts/ProfHeap.c
+++ b/rts/ProfHeap.c
@@ -19,7 +19,6 @@
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "Profiling.h"
-#include "Storage.h"
#include "ProfHeap.h"
#include "Stats.h"
#include "Hash.h"
diff --git a/rts/Profiling.c b/rts/Profiling.c
index f865d0a9cf..a8650788e9 100644
--- a/rts/Profiling.c
+++ b/rts/Profiling.c
@@ -13,7 +13,6 @@
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "Profiling.h"
-#include "Storage.h"
#include "Proftimer.h"
#include "Timer.h"
#include "ProfHeap.h"
diff --git a/rts/RaiseAsync.c b/rts/RaiseAsync.c
index 4a405e7b49..d55595309b 100644
--- a/rts/RaiseAsync.c
+++ b/rts/RaiseAsync.c
@@ -12,7 +12,6 @@
#include "Trace.h"
#include "RaiseAsync.h"
#include "SMP.h"
-#include "Storage.h"
#include "Schedule.h"
#include "LdvProfile.h"
#include "Updates.h"
diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c
index 17f5afb615..23d6f9dd09 100644
--- a/rts/RetainerProfile.c
+++ b/rts/RetainerProfile.c
@@ -20,9 +20,7 @@
#include "RtsUtils.h"
#include "RetainerProfile.h"
#include "RetainerSet.h"
-#include "Storage.h"
#include "Schedule.h"
-#include "Stable.h"
#include "Printer.h"
#include "RtsFlags.h"
#include "Weak.h"
diff --git a/rts/RtsAPI.c b/rts/RtsAPI.c
index 1a18e9bf7b..69fac8d474 100644
--- a/rts/RtsAPI.c
+++ b/rts/RtsAPI.c
@@ -9,7 +9,6 @@
#include "PosixSource.h"
#include "Rts.h"
#include "OSThreads.h"
-#include "Storage.h"
#include "RtsAPI.h"
#include "SchedAPI.h"
#include "RtsFlags.h"
diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c
index 08debc0c8c..3e9fd2a077 100644
--- a/rts/RtsStartup.c
+++ b/rts/RtsStartup.c
@@ -12,7 +12,6 @@
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "OSThreads.h"
-#include "Storage.h" /* initStorage, exitStorage */
#include "Schedule.h" /* initScheduler */
#include "Stats.h" /* initStats */
#include "STM.h" /* initSTM */
diff --git a/rts/Typeable.c b/rts/Typeable.c
index e0309d63d7..66e135ca1f 100644
--- a/rts/Typeable.c
+++ b/rts/Typeable.c
@@ -8,8 +8,6 @@
#include "RtsTypeable.h"
#include "Rts.h"
-#include "Storage.h"
-#include "Stable.h"
static StgPtr typeableStore = 0;
#ifdef THREADED_RTS
diff --git a/rts/Weak.c b/rts/Weak.c
index a83cef995f..569bffb244 100644
--- a/rts/Weak.c
+++ b/rts/Weak.c
@@ -13,7 +13,6 @@
#include "SchedAPI.h"
#include "RtsFlags.h"
#include "Weak.h"
-#include "Storage.h"
#include "Schedule.h"
#include "Prelude.h"
#include "RtsAPI.h"
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c
index ded85f5d39..a5044cd6de 100644
--- a/rts/posix/Signals.c
+++ b/rts/posix/Signals.c
@@ -11,14 +11,12 @@
*/
#include "Rts.h"
#include "SchedAPI.h"
-#include "Storage.h"
#include "Schedule.h"
#include "RtsSignals.h"
#include "posix/Signals.h"
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "Prelude.h"
-#include "Stable.h"
#ifdef alpha_HOST_ARCH
# if defined(linux_HOST_OS)
diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c
index 844b77008f..683dfe6288 100644
--- a/rts/sm/Compact.c
+++ b/rts/sm/Compact.c
@@ -16,8 +16,6 @@
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "OSThreads.h"
-#include "Storage.h"
-#include "Stable.h"
#include "BlockAlloc.h"
#include "MBlock.h"
#include "GC.h"
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 7a82a6e3f9..2870be150c 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -17,8 +17,6 @@
#include "RtsUtils.h"
#include "Apply.h"
#include "OSThreads.h"
-#include "Storage.h"
-#include "Stable.h"
#include "LdvProfile.h"
#include "Updates.h"
#include "Stats.h"
diff --git a/rts/win32/ConsoleHandler.c b/rts/win32/ConsoleHandler.c
index 12ab45dad5..afaa4245b8 100644
--- a/rts/win32/ConsoleHandler.c
+++ b/rts/win32/ConsoleHandler.c
@@ -3,7 +3,6 @@
*
*/
#include "Rts.h"
-#include "Storage.h"
#include <windows.h>
#include "ConsoleHandler.h"
#include "SchedAPI.h"
@@ -11,7 +10,6 @@
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "AsyncIO.h"
-#include "Stable.h"
#include "RtsSignals.h"
extern int stg_InstallConsoleEvent(int action, StgStablePtr *handler);