From e89384911f08b748bcbd81bad24810de38b14e76 Mon Sep 17 00:00:00 2001 From: François Revel Date: Mon, 16 Feb 2009 19:08:20 +0000 Subject: Fix BeOS build. Please try to patch all platforms when breaking things like this :p svn path=/trunk/netsurf/; revision=6541 --- beos/beos_schedule.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beos/beos_schedule.cpp b/beos/beos_schedule.cpp index 023736b68..ae0bce174 100644 --- a/beos/beos_schedule.cpp +++ b/beos/beos_schedule.cpp @@ -99,12 +99,12 @@ schedule(int t, void (*callback)(void *p), void *p) callbacks->AddItem(cb); } -void +bool schedule_run(void) { LOG(("schedule_run()")); if (callbacks == NULL) - return; /* Nothing to do */ + return false; /* Nothing to do */ bigtime_t now = system_time(); earliest_callback_timeout = B_INFINITE_TIMEOUT; @@ -128,4 +128,5 @@ schedule_run(void) callbacks->RemoveItem(cb); free(cb); } + return true; } -- cgit v1.2.3