summaryrefslogtreecommitdiff
path: root/ev_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_select.c')
-rw-r--r--ev_select.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ev_select.c b/ev_select.c
index 63612dc..5ce1db8 100644
--- a/ev_select.c
+++ b/ev_select.c
@@ -79,14 +79,12 @@ static void select_poll (ev_tstamp timeout)
}
}
-int select_init (int flags)
+void select_init (int flags)
{
- ev_method = EVMETHOD_SELECT;
+ ev_method = EVMETHOD_SELECT;
method_fudge = 1e-2; /* needed to compensate for select returning early, very conservative */
method_modify = select_modify;
method_poll = select_poll;
-
- return 1;
}