X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/69279317e8626dfa1b0d6719ac4e0d68d525645b..4ebe9e295b974622f802229ca8e371ee6df9525a:/ev_port.c 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);