Don't STATIC_INLINE giveCapabilityToTask
authorSimon Marlow <smarlow@fb.com>
Wed, 4 May 2016 11:29:06 +0000 (04:29 -0700)
committerSimon Marlow <smarlow@fb.com>
Wed, 4 May 2016 12:30:30 +0000 (05:30 -0700)
This causes errors with some versions of gcc (4.4.7 here).

rts/Capability.c

index aa77d1b..2f8e152 100644 (file)
@@ -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);