summaryrefslogtreecommitdiff
path: root/rts/Schedule.h
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-10-08 12:05:27 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-10-08 12:05:27 +0000
commit4a2013c2e05eb07380938569a196e08eba7c5226 (patch)
tree050a3abca4e37915af0364badf38770c52077603 /rts/Schedule.h
parentee9c47f20f7500a54101159c19db99a34f0a441a (diff)
downloadhaskell-4a2013c2e05eb07380938569a196e08eba7c5226.tar.gz
Make appendToRunQueue EXTERN_INLINE rather than INLINE_HEADER
Fixes compilation with gcc 4.4
Diffstat (limited to 'rts/Schedule.h')
-rw-r--r--rts/Schedule.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rts/Schedule.h b/rts/Schedule.h
index 2dd4acd0d9..5f669b3d83 100644
--- a/rts/Schedule.h
+++ b/rts/Schedule.h
@@ -126,7 +126,10 @@ void performPendingThrowTos (StgTSO *);
* NOTE: tso->link should be END_TSO_QUEUE before calling this macro.
* ASSUMES: cap->running_task is the current task.
*/
-INLINE_HEADER void
+EXTERN_INLINE void
+appendToRunQueue (Capability *cap, StgTSO *tso);
+
+EXTERN_INLINE void
appendToRunQueue (Capability *cap, StgTSO *tso)
{
ASSERT(tso->_link == END_TSO_QUEUE);