X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2dff0867c6069c41ede598cd78bb2d5223fde025..4ebe9e295b974622f802229ca8e371ee6df9525a:/ev_select.c?ds=sidebyside diff --git a/ev_select.c b/ev_select.c index 2a87a07..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; @@ -221,10 +221,10 @@ select_init (EV_P_ int flags) vec_wo = 0; #endif - return EVMETHOD_SELECT; + return EVBACKEND_SELECT; } -static void +void inline_size select_destroy (EV_P) { ev_free (vec_ri);