summaryrefslogtreecommitdiff
path: root/src/eloop.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-05-18 16:38:51 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-05-18 16:42:27 +0200
commitd1870df38387b9716bc5d28df5b64c688c09586e (patch)
tree92f3e193d2d534ba8417d2009d82d5364355b642 /src/eloop.h
parent3219b9ccfd942b76eb5d632ad95eea2bc8a8059d (diff)
eloop: move callback declarations into correct order
Use same order as the function definitions. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/eloop.h')
-rw-r--r--src/eloop.h7
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,