Commit 0ad2f2de authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

Hopefully quash LOG compile errors in BeOS

parent 50cbb989
......@@ -70,8 +70,7 @@ schedule_remove(void (*callback)(void *p), void *p)
NSLOG(schedule, DEBUG,
"schedule_remove() for %p(%p)",
callback, p);
if (callbacks == NULL)
_nsbeos_callback_t cb_match;
......@@ -83,7 +82,7 @@ schedule_remove(void (*callback)(void *p), void *p)
nserror beos_schedule(int t, void (*callback)(void *p), void *p)
NSLOG(schedule, DEBUG, "t:%d cb:%p p:%p", t, cb->callback, cb->context);
NSLOG(schedule, DEBUG, "t:%d cb:%p p:%p", t, callback, p);
if (callbacks == NULL) {
callbacks = new BList;
......@@ -124,7 +123,7 @@ schedule_run(void)
NSLOG(schedule, DEBUG,
"Checking %ld callbacks to for deadline.",
/* Run all the callbacks which made it this far. */
for (i = 0; i < callbacks->CountItems(); ) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment