summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2009-02-16 19:08:20 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2009-02-16 19:08:20 +0000
commite89384911f08b748bcbd81bad24810de38b14e76 (patch)
tree2c8c4e69fc6d2cba1aae814df8fa3c37632d96d1 /beos
parent22d8b8e512a337505cc53f7918707f36b53d7f2a (diff)
downloadnetsurf-e89384911f08b748bcbd81bad24810de38b14e76.tar.gz
netsurf-e89384911f08b748bcbd81bad24810de38b14e76.tar.bz2
Fix BeOS build. Please try to patch all platforms when breaking things like this :p
svn path=/trunk/netsurf/; revision=6541
Diffstat (limited to 'beos')
-rw-r--r--beos/beos_schedule.cpp5
1 files 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;
}