X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/41a098dde97e50ab992166256ba6da1ffc2e431c..5cf190b99b58aa331248add4a0ac5d7b6cec5ecb:/ev_poll.c diff --git a/ev_poll.c b/ev_poll.c index 626aa27..293958f 100644 --- a/ev_poll.c +++ b/ev_poll.c @@ -108,14 +108,14 @@ poll_poll (EV_P_ ev_tstamp timeout) static int poll_init (EV_P_ int flags) { - method_fudge = 1e-3; /* needed to compensate for select returning early, very conservative */ - method_modify = poll_modify; - method_poll = poll_poll; + backend_fudge = 1e-3; /* needed to compensate for select returning early, very conservative */ + backend_modify = poll_modify; + backend_poll = poll_poll; pollidxs = 0; pollidxmax = 0; polls = 0; pollmax = 0; pollcnt = 0; - return EVMETHOD_POLL; + return EVBACKEND_POLL; } static void