X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/408214e3dfe1ba40783a70c02d98b92738bdb979..614930116ff2c76f9954eee0cf4c5194ee4204e0:/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);