X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/41a098dde97e50ab992166256ba6da1ffc2e431c..17aa769e5683447df8357ac2b0493990b5d85e89:/ev_poll.c?ds=sidebyside 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