summaryrefslogtreecommitdiffstats
path: root/nest/locks.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-28 00:28:49 +0200
committerMartin Mares <mj@ucw.cz>2000-04-28 00:28:49 +0200
commit8f6accb5bb26d534576e086894c107387f67906a (patch)
treeb7c02cbdaca870a6f86e0110d2b1d270f5c89d77 /nest/locks.c
parent987de54578ce4053d737c64ea924a32f46a441a7 (diff)
downloadbird-8f6accb5bb26d534576e086894c107387f67906a.tar
bird-8f6accb5bb26d534576e086894c107387f67906a.zip
Event handlers no longer return re-queue flag. Instead of using it, just
call ev_schedule() on the same handler which should work perfectly now.
Diffstat (limited to 'nest/locks.c')
-rw-r--r--nest/locks.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/locks.c b/nest/locks.c
index 0f43c56..d321fab 100644
--- a/nest/locks.c
+++ b/nest/locks.c
@@ -111,7 +111,7 @@ olock_acquire(struct object_lock *l)
ev_schedule(olock_event);
}
-int
+static void
olock_run_event(void *unused)
{
node *n;
@@ -132,7 +132,6 @@ olock_run_event(void *unused)
add_tail(&olock_list, &q->n);
q->hook(q);
}
- return 0;
}
void