X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/23f51f36bfcf6f217b2a14967f968af5dd4675e7..01a7af5110dcd6e711dd27c0fa7fa68c23380186:/ev_poll.c diff --git a/ev_poll.c b/ev_poll.c index 293958f..52fe42d 100644 --- a/ev_poll.c +++ b/ev_poll.c @@ -1,5 +1,5 @@ /* - * libev epoll fd activity backend + * libev poll fd activity backend * * Copyright (c) 2007 Marc Alexander Lehmann * All rights reserved. @@ -105,7 +105,7 @@ poll_poll (EV_P_ ev_tstamp timeout) ); } -static int +int inline_size poll_init (EV_P_ int flags) { backend_fudge = 1e-3; /* needed to compensate for select returning early, very conservative */ @@ -118,7 +118,7 @@ poll_init (EV_P_ int flags) return EVBACKEND_POLL; } -static void +void inline_size poll_destroy (EV_P) { ev_free (pollidxs);