diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eloop.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/eloop.h b/src/eloop.h index 2717cc7..776ec0c 100644 --- a/src/eloop.h +++ b/src/eloop.h @@ -41,19 +41,18 @@ #include <time.h> struct ev_eloop; -struct ev_idle; struct ev_fd; struct ev_timer; struct ev_counter; -typedef void (*ev_idle_cb) (struct ev_eloop *eloop, void *unused, void *data); typedef void (*ev_fd_cb) (struct ev_fd *fd, int mask, void *data); -typedef void (*ev_signal_shared_cb) - (struct ev_eloop *eloop, struct signalfd_siginfo *info, void *data); typedef void (*ev_timer_cb) (struct ev_timer *timer, uint64_t num, void *data); typedef void (*ev_counter_cb) (struct ev_counter *cnt, uint64_t num, void *data); +typedef void (*ev_signal_shared_cb) + (struct ev_eloop *eloop, struct signalfd_siginfo *info, void *data); +typedef void (*ev_idle_cb) (struct ev_eloop *eloop, void *unused, void *data); enum ev_eloop_flags { EV_READABLE = 0x01, |