summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2007-11-10 00:55:27 +0000
committerroot <root>2007-11-10 00:55:27 +0000
commitf0e9f4e4e09ba9877ac4d15fefde761cc96cd317 (patch)
tree7ae9e24d48597e9d5856ce6ae87b2ea440116315 /ev.h
parentfba9dbfff2d57fa7b0fca7b4d033e1df87f003b1 (diff)
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ev.h b/ev.h
index 8017838..126de49 100644
--- a/ev.h
+++ b/ev.h
@@ -88,7 +88,7 @@ struct ev_loop;
#define EV_VERSION_MINOR 1
#ifndef EV_CB_DECLARE
-# define EV_CB_DECLARE(type) void (*cb)(EV_P_ struct type *w, int revents)
+# define EV_CB_DECLARE(type) void (*cb)(EV_P_ struct type *w, int revents);
#endif
#ifndef EV_CB_INVOKE
# define EV_CB_INVOKE(watcher,revents) (watcher)->cb (EV_A_ (watcher), (revents))
@@ -212,14 +212,15 @@ union ev_any_watcher
{
struct ev_watcher w;
struct ev_watcher_list wl;
+
struct ev_io io;
struct ev_timer timer;
struct ev_periodic periodic;
- struct ev_signal signal;
struct ev_idle idle;
- struct ev_child child;
struct ev_prepare prepare;
struct ev_check check;
+ struct ev_signal signal;
+ struct ev_child child;
};
#define EVMETHOD_AUTO 0 /* consults environment */