summaryrefslogtreecommitdiff
path: root/riscos/schedule.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/schedule.c')
-rw-r--r--riscos/schedule.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/riscos/schedule.c b/riscos/schedule.c
index 285345318..d0d27401c 100644
--- a/riscos/schedule.c
+++ b/riscos/schedule.c
@@ -128,7 +128,7 @@ void schedule_remove(void (*callback)(void *p), void *p)
* Process events up to current time.
*/
-void schedule_run(void)
+bool schedule_run(void)
{
struct sched_entry *entry;
void (*callback)(void *p);
@@ -153,4 +153,6 @@ void schedule_run(void)
sched_time = sched_queue.next->time;
} else
sched_active = false;
+
+ return sched_active;
}