diff options
author | root <root> | 2007-11-28 11:15:55 +0000 |
---|---|---|
committer | root <root> | 2007-11-28 11:15:55 +0000 |
commit | 4ebe9e295b974622f802229ca8e371ee6df9525a (patch) | |
tree | 0c3f1d6e3809cd03135b74017e13dd5c653301c3 /ev_kqueue.c | |
parent | 69279317e8626dfa1b0d6719ac4e0d68d525645b (diff) |
experimental, and likely broken, inotify support
Diffstat (limited to 'ev_kqueue.c')
-rw-r--r-- | ev_kqueue.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ev_kqueue.c b/ev_kqueue.c index 7a34e9b..afd3f9c 100644 --- a/ev_kqueue.c +++ b/ev_kqueue.c @@ -36,7 +36,7 @@ #include <string.h> #include <errno.h> -static void +void inline_speed kqueue_change (EV_P_ int fd, int filter, int flags, int fflags) { struct kevent *ke; @@ -142,7 +142,7 @@ kqueue_poll (EV_P_ ev_tstamp timeout) } } -static int +int inline_size kqueue_init (EV_P_ int flags) { struct kevent ch, ev; @@ -168,16 +168,14 @@ kqueue_init (EV_P_ int flags) return EVBACKEND_KQUEUE; } -static void +void inline_size kqueue_destroy (EV_P) { - close (backend_fd); - ev_free (kqueue_events); ev_free (kqueue_changes); } -static void +void inline_size kqueue_fork (EV_P) { close (backend_fd); |