X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/fd6d7a01bca4544f5674438b189ba5ec1bce98af..eec85cf766fbaa1ee090c8daaf5b4a501f890f63:/ev_select.c?ds=sidebyside 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; }