X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/cff78812ebbcab7601919f479447150fb7c2c9f4..09c28a9820828432b5ced0a8f2b05c56213690fc:/ev_select.c diff --git a/ev_select.c b/ev_select.c index 3c099c5..1df0953 100644 --- a/ev_select.c +++ b/ev_select.c @@ -200,12 +200,12 @@ select_poll (EV_P_ ev_tstamp timeout) #endif } -static int +int inline_size select_init (EV_P_ int flags) { - method_fudge = 1e-2; /* needed to compensate for select returning early, very conservative */ - method_modify = select_modify; - method_poll = select_poll; + backend_fudge = 1e-2; /* needed to compensate for select returning early, very conservative */ + backend_modify = select_modify; + backend_poll = select_poll; #if EV_SELECT_USE_FD_SET vec_max = FD_SETSIZE / 32; @@ -224,7 +224,7 @@ select_init (EV_P_ int flags) return EVBACKEND_SELECT; } -static void +void inline_size select_destroy (EV_P) { ev_free (vec_ri);