X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/41a098dde97e50ab992166256ba6da1ffc2e431c..23f51f36bfcf6f217b2a14967f968af5dd4675e7:/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