summaryrefslogtreecommitdiff
path: root/rts/Schedule.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-08-03 21:45:45 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-08-03 21:45:45 +0000
commitc123d6799b1f777a2c19ff2e10b93191d2ad7797 (patch)
tree4c65208e1c9cf08fc650986d6e7c6e460b38f057 /rts/Schedule.c
parent94ca983b0839abace1737001d6f84138085fec28 (diff)
downloadhaskell-c123d6799b1f777a2c19ff2e10b93191d2ad7797.tar.gz
use C99-style array initialisers
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r--rts/Schedule.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c
index 70ddf090c1..dd33f6f2d2 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -174,12 +174,12 @@ static void deleteThread_(Capability *cap, StgTSO *tso);
#ifdef DEBUG
static char *whatNext_strs[] = {
- "(unknown)",
- "ThreadRunGHC",
- "ThreadInterpret",
- "ThreadKilled",
- "ThreadRelocated",
- "ThreadComplete"
+ [0] = "(unknown)",
+ [ThreadRunGHC] = "ThreadRunGHC",
+ [ThreadInterpret] = "ThreadInterpret",
+ [ThreadKilled] = "ThreadKilled",
+ [ThreadRelocated] = "ThreadRelocated",
+ [ThreadComplete] = "ThreadComplete"
};
#endif