Skip to content

Commit

Permalink
remove unused includes, now that Storage.h & Stable.h are included by…
Browse files Browse the repository at this point in the history
… Rts.h
  • Loading branch information
Simon Marlow committed Nov 15, 2006
1 parent 5c42da2 commit 1cb0eb0
Show file tree
Hide file tree
Showing 21 changed files with 0 additions and 31 deletions.
3 changes: 0 additions & 3 deletions rts/Adjustor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion rts/Capability.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion rts/Disassembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "RtsUtils.h"
#include "Closures.h"
#include "TSO.h"
#include "Storage.h"
#include "Schedule.h"

#include "Bytecodes.h"
Expand Down
1 change: 0 additions & 1 deletion rts/FrontPanel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions rts/HsFFI.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion rts/Interpreter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion rts/LdvProfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "RtsFlags.h"
#include "Profiling.h"
#include "Stats.h"
#include "Storage.h"
#include "RtsUtils.h"
#include "Schedule.h"

Expand Down
2 changes: 0 additions & 2 deletions rts/Linker.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion rts/Printer.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include "RtsFlags.h"
#include "MBlock.h"
#include "Storage.h"
#include "Bytecodes.h" /* for InstrPtr */
#include "Disassembler.h"
#include "Apply.h"
Expand Down
1 change: 0 additions & 1 deletion rts/ProfHeap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion rts/Profiling.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion rts/RaiseAsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions rts/RetainerProfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion rts/RtsAPI.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion rts/RtsStartup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 0 additions & 2 deletions rts/Typeable.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#include "RtsTypeable.h"
#include "Rts.h"
#include "Storage.h"
#include "Stable.h"

static StgPtr typeableStore = 0;
#ifdef THREADED_RTS
Expand Down
1 change: 0 additions & 1 deletion rts/Weak.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions rts/posix/Signals.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions rts/sm/Compact.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions rts/sm/GC.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions rts/win32/ConsoleHandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
*
*/
#include "Rts.h"
#include "Storage.h"
#include <windows.h>
#include "ConsoleHandler.h"
#include "SchedAPI.h"
#include "Schedule.h"
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "AsyncIO.h"
#include "Stable.h"
#include "RtsSignals.h"

extern int stg_InstallConsoleEvent(int action, StgStablePtr *handler);
Expand Down

0 comments on commit 1cb0eb0

Please sign in to comment.