X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2dff0867c6069c41ede598cd78bb2d5223fde025..4dc30d27d0b48de023a3e1e7fd67ac52273580d1:/ev_select.c?ds=sidebyside diff --git a/ev_select.c b/ev_select.c index 2a87a07..38a2398 100644 --- a/ev_select.c +++ b/ev_select.c @@ -203,9 +203,9 @@ select_poll (EV_P_ ev_tstamp timeout) static int 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,7 +221,7 @@ select_init (EV_P_ int flags) vec_wo = 0; #endif - return EVMETHOD_SELECT; + return EVBACKEND_SELECT; } static void