summaryrefslogtreecommitdiff
path: root/ev_port.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_port.c
parent69279317e8626dfa1b0d6719ac4e0d68d525645b (diff)
experimental, and likely broken, inotify support
Diffstat (limited to 'ev_port.c')
-rw-r--r--ev_port.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ev_port.c b/ev_port.c
index e6555bb..db3bae5 100644
--- a/ev_port.c
+++ b/ev_port.c
@@ -108,7 +108,7 @@ port_poll (EV_P_ ev_tstamp timeout)
}
}
-static int
+int inline_size
port_init (EV_P_ int flags)
{
/* Initalize the kernel queue */
@@ -127,15 +127,13 @@ port_init (EV_P_ int flags)
return EVBACKEND_PORT;
}
-static void
+void inline_size
port_destroy (EV_P)
{
- close (backend_fd);
-
ev_free (port_events);
}
-static void
+void inline_size
port_fork (EV_P)
{
close (backend_fd);