X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/408214e3dfe1ba40783a70c02d98b92738bdb979..f6cc1f750a321b2c6e30637963d3e624c7a8e5ae:/ev_port.c?ds=inline 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);