diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-08-03 21:45:45 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-08-03 21:45:45 +0000 |
commit | c123d6799b1f777a2c19ff2e10b93191d2ad7797 (patch) | |
tree | 4c65208e1c9cf08fc650986d6e7c6e460b38f057 /rts/Schedule.c | |
parent | 94ca983b0839abace1737001d6f84138085fec28 (diff) | |
download | haskell-c123d6799b1f777a2c19ff2e10b93191d2ad7797.tar.gz |
use C99-style array initialisers
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r-- | rts/Schedule.c | 12 |
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 |