static void event_signal_closure(struct event_base *, struct event *ev);
static void event_persist_closure(struct event_base *, struct event *ev);
-static int evthread_notify_base(struct event_base *base);
+static int evthread_notify_base(struct event_base *base);
static void
detect_monotonic(void)
return (0);
}
-int
+static int
event_haveevents(struct event_base *base)
{
return (base->event_count > 0);
EVBASE_RELEASE_LOCK(base, EVTHREAD_WRITE, th_base_lock);
}
-void
+static void
event_queue_remove(struct event_base *base, struct event *ev, int queue)
{
if (!(ev->ev_flags & queue))
}
}
-void
+static void
event_queue_insert(struct event_base *base, struct event *ev, int queue)
{
if (ev->ev_flags & queue) {