summaryrefslogtreecommitdiff
path: root/ev_epoll.c
diff options
context:
space:
mode:
authorroot <root>2007-11-28 11:15:55 +0000
committerroot <root>2007-11-28 11:15:55 +0000
commit4ebe9e295b974622f802229ca8e371ee6df9525a (patch)
tree0c3f1d6e3809cd03135b74017e13dd5c653301c3 /ev_epoll.c
parent69279317e8626dfa1b0d6719ac4e0d68d525645b (diff)
experimental, and likely broken, inotify support
Diffstat (limited to 'ev_epoll.c')
-rw-r--r--ev_epoll.c8
1 files changed, 3 insertions, 5 deletions
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);