projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ca983
)
use C99-style array initialisers
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 3 Aug 2009 21:45:45 +0000
(21:45 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 3 Aug 2009 21:45:45 +0000
(21:45 +0000)
rts/Schedule.c
patch
|
blob
|
history
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
70ddf09
..
dd33f6f
100644
(file)
--- 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