summaryrefslogtreecommitdiff
path: root/includes/rts/Threads.h
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-01-06 11:26:31 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-01-06 11:31:35 +0000
commita6969bf9236eb0497afbf3a27da2fe07e8e9175b (patch)
tree20aff305ea533043695518cf4886cdda16a24556 /includes/rts/Threads.h
parent77e788960cad26bfdee00e0741d28fd7a78d9c22 (diff)
downloadhaskell-a6969bf9236eb0497afbf3a27da2fe07e8e9175b.tar.gz
setNumCapabilities: don't barf() if it isn't supported, just print an error
Diffstat (limited to 'includes/rts/Threads.h')
-rw-r--r--includes/rts/Threads.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h
index 061e38b32b..dd533bedf8 100644
--- a/includes/rts/Threads.h
+++ b/includes/rts/Threads.h
@@ -61,10 +61,6 @@ extern Capability MainCapability;
// Change the number of capabilities (only supports increasing the
// current value at the moment).
//
-#if defined(THREADED_RTS)
extern void setNumCapabilities (nat new);
-#else
-extern void setNumCapabilities (nat new) GNU_ATTRIBUTE(__noreturn__);
-#endif
#endif /* RTS_THREADS_H */