X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/6e0418ec92a0b2bfbbe75790bb015bcd022f5dad..756a6378f76a80c595335d4a78ab426cc44d247d:/ev_epoll.c diff --git a/ev_epoll.c b/ev_epoll.c index 4edbecd..54a4ccb 100644 --- a/ev_epoll.c +++ b/ev_epoll.c @@ -79,7 +79,7 @@ epoll_poll (EV_P_ ev_tstamp timeout) } } -static int +int inline_size epoll_init (EV_P_ int flags) { backend_fd = epoll_create (256); @@ -99,15 +99,13 @@ epoll_init (EV_P_ int flags) return EVBACKEND_EPOLL; } -static void +void inline_size epoll_destroy (EV_P) { - close (backend_fd); - ev_free (epoll_events); } -static void +void inline_size epoll_fork (EV_P) { close (backend_fd);