summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-09-24 16:41:03 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-09-30 02:49:41 -0400
commit9befd94d79a78fd53a28a4ce051a91d2215d069c (patch)
tree35380e9cae2887f8aeccb0ed7db6887fd7e0d3d9
parentdf3f58807580bc2762086e063e3823b05de6fd64 (diff)
downloadhaskell-9befd94d79a78fd53a28a4ce051a91d2215d069c.tar.gz
Remove unused global variables
Some removed globals variables were still declared in the RTS. They were removed in the following commits: * 4fc6524a2a4a0003495a96c8b84783286f65c198 * 0dc7985663efa1739aafb480759e2e2e7fca2a36 * bbd3c399939311ec3e308721ab87ca6b9443f358
-rw-r--r--includes/rts/Globals.h4
-rw-r--r--rts/Globals.c8
-rw-r--r--rts/RtsSymbols.c2
3 files changed, 0 insertions, 14 deletions
diff --git a/includes/rts/Globals.h b/includes/rts/Globals.h
index 15d8e19f93..8d8df48b21 100644
--- a/includes/rts/Globals.h
+++ b/includes/rts/Globals.h
@@ -29,10 +29,6 @@ mkStoreAccessorPrototype(SystemEventThreadIOManagerThreadStore)
mkStoreAccessorPrototype(SystemTimerThreadEventManagerStore)
mkStoreAccessorPrototype(SystemTimerThreadIOManagerThreadStore)
mkStoreAccessorPrototype(LibHSghcFastStringTable)
-mkStoreAccessorPrototype(LibHSghcPersistentLinkerState)
-mkStoreAccessorPrototype(LibHSghcInitLinkerDone)
mkStoreAccessorPrototype(LibHSghcGlobalHasPprDebug)
mkStoreAccessorPrototype(LibHSghcGlobalHasNoDebugOutput)
mkStoreAccessorPrototype(LibHSghcGlobalHasNoStateHack)
-mkStoreAccessorPrototype(LibHSghcStaticOptions)
-mkStoreAccessorPrototype(LibHSghcStaticOptionsReady)
diff --git a/rts/Globals.c b/rts/Globals.c
index 4a8657dedc..5569ee7910 100644
--- a/rts/Globals.c
+++ b/rts/Globals.c
@@ -33,13 +33,9 @@ typedef enum {
SystemTimerThreadEventManagerStore,
SystemTimerThreadIOManagerThreadStore,
LibHSghcFastStringTable,
- LibHSghcPersistentLinkerState,
- LibHSghcInitLinkerDone,
LibHSghcGlobalHasPprDebug,
LibHSghcGlobalHasNoDebugOutput,
LibHSghcGlobalHasNoStateHack,
- LibHSghcStaticOptions,
- LibHSghcStaticOptionsReady,
MaxStoreKey
} StoreKey;
@@ -108,10 +104,6 @@ mkStoreAccessor(SystemEventThreadIOManagerThreadStore)
mkStoreAccessor(SystemTimerThreadEventManagerStore)
mkStoreAccessor(SystemTimerThreadIOManagerThreadStore)
mkStoreAccessor(LibHSghcFastStringTable)
-mkStoreAccessor(LibHSghcPersistentLinkerState)
-mkStoreAccessor(LibHSghcInitLinkerDone)
mkStoreAccessor(LibHSghcGlobalHasPprDebug)
mkStoreAccessor(LibHSghcGlobalHasNoDebugOutput)
mkStoreAccessor(LibHSghcGlobalHasNoStateHack)
-mkStoreAccessor(LibHSghcStaticOptions)
-mkStoreAccessor(LibHSghcStaticOptionsReady)
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index e10cef6cad..8d8bd1115f 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -642,8 +642,6 @@
SymI_HasProto(getOrSetLibHSghcFastStringTable) \
SymI_HasProto(getRTSStats) \
SymI_HasProto(getRTSStatsEnabled) \
- SymI_HasProto(getOrSetLibHSghcPersistentLinkerState) \
- SymI_HasProto(getOrSetLibHSghcInitLinkerDone) \
SymI_HasProto(getOrSetLibHSghcGlobalHasPprDebug) \
SymI_HasProto(getOrSetLibHSghcGlobalHasNoDebugOutput) \
SymI_HasProto(getOrSetLibHSghcGlobalHasNoStateHack) \