diff options
author | Simon Marlow <smarlow@fb.com> | 2016-05-04 04:29:06 -0700 |
---|---|---|
committer | Simon Marlow <smarlow@fb.com> | 2016-05-04 05:30:30 -0700 |
commit | dbcaa8c2c16aac3908d177601e949ecdd5ed6752 (patch) | |
tree | 7e6fd0a16ab45c50d5be522d2dfbe71da58173e7 /rts/Capability.c | |
parent | 1fa92ca9b1ed4cf44e2745830c9e9ccc2bee12d5 (diff) | |
download | haskell-dbcaa8c2c16aac3908d177601e949ecdd5ed6752.tar.gz |
Don't STATIC_INLINE giveCapabilityToTask
This causes errors with some versions of gcc (4.4.7 here).
Diffstat (limited to 'rts/Capability.c')
-rw-r--r-- | rts/Capability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Capability.c b/rts/Capability.c index aa77d1b357..2f8e152b5a 100644 --- a/rts/Capability.c +++ b/rts/Capability.c @@ -428,7 +428,7 @@ void interruptAllCapabilities(void) * ------------------------------------------------------------------------- */ #if defined(THREADED_RTS) -STATIC_INLINE void +static void giveCapabilityToTask (Capability *cap USED_IF_DEBUG, Task *task) { ASSERT_LOCK_HELD(&cap->lock); |