X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/cff78812ebbcab7601919f479447150fb7c2c9f4..23f51f36bfcf6f217b2a14967f968af5dd4675e7:/ev_epoll.c diff --git a/ev_epoll.c b/ev_epoll.c index b38011e..7bd7949 100644 --- a/ev_epoll.c +++ b/ev_epoll.c @@ -89,9 +89,9 @@ 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);