summaryrefslogtreecommitdiff
path: root/rts/hooks
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-04-12 13:21:41 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-04-12 14:21:37 +0100
commit5463b55b7dadc1e9918edb2d8666bf3ed195bc61 (patch)
tree9738714d517d56166a90a6eb18decb34fcf9d406 /rts/hooks
parent4f018b471c7c5db858beb508b8430ae4d0621173 (diff)
downloadhaskell-5463b55b7dadc1e9918edb2d8666bf3ed195bc61.tar.gz
Cleanup sweep and fix a bug in RTS flag processing.
This code has accumulated a great deal of cruft over the years, this pass cleans up a lot of the surrounding cruft but leaves the actual argument processing alone - so there's still more that could be done. Bug fixed: - ghc_rts_opts should not be subject to the --rtsopts setting. If the programmer explicitly declares options with ghc_rts_opts, they shouldn't also have to accept command-line RTS options to make them work.
Diffstat (limited to 'rts/hooks')
-rw-r--r--rts/hooks/RtsOptsEnabled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/hooks/RtsOptsEnabled.c b/rts/hooks/RtsOptsEnabled.c
index f5d81579f6..f20c32573d 100644
--- a/rts/hooks/RtsOptsEnabled.c
+++ b/rts/hooks/RtsOptsEnabled.c
@@ -9,5 +9,5 @@
#include "Rts.h"
#include "RtsOpts.h"
-const rtsOptsEnabledEnum rtsOptsEnabled = rtsOptsSafeOnly;
+const RtsOptsEnabledEnum rtsOptsEnabled = RtsOptsSafeOnly;