X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/4b05fe94e44407cd62092863e204337c521e7d8a..23f51f36bfcf6f217b2a14967f968af5dd4675e7:/ev_epoll.c diff --git a/ev_epoll.c b/ev_epoll.c index 957b71b..7bd7949 100644 --- a/ev_epoll.c +++ b/ev_epoll.c @@ -89,14 +89,14 @@ epoll_init (EV_P_ int flags) fcntl (epoll_fd, F_SETFD, FD_CLOEXEC); - method_fudge = 1e-3; /* needed to compensate for epoll returning early */ - method_modify = epoll_modify; - method_poll = epoll_poll; + backend_fudge = 1e-3; /* needed to compensate for epoll returning early */ + backend_modify = epoll_modify; + backend_poll = epoll_poll; epoll_eventmax = 64; /* intiial number of events receivable per poll */ epoll_events = (struct epoll_event *)ev_malloc (sizeof (struct epoll_event) * epoll_eventmax); - return EVMETHOD_EPOLL; + return EVBACKEND_EPOLL; } static void