Fix up the ifdefs in Task.c
authorIan Lynagh <igloo@earth.li>
Sat, 13 Nov 2010 12:53:14 +0000 (12:53 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 13 Nov 2010 12:53:14 +0000 (12:53 +0000)
rts/Task.c

index 8994ad1..a15758c 100644 (file)
@@ -359,6 +359,8 @@ static void *taskId(Task *task)
 #endif
 }
 
+#endif
+
 #if defined(THREADED_RTS)
 
 static void OSThreadProcAttr
@@ -431,6 +433,8 @@ interruptWorkerTask (Task *task)
 
 #endif /* THREADED_RTS */
 
+#ifdef DEBUG
+
 void printAllTasks(void);
 
 void