summaryrefslogtreecommitdiffstats
path: root/nest/locks.c
diff options
context:
space:
mode:
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