X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fevent.h;h=7d52a174fa874f8b460a5645e6cb234495685393;hb=2a18ac20efd8ed3e1fd76f11f6f816e77c099e47;hp=7201b9a31d1fb6ecc5629d2cfb3a36e4ecd0059f;hpb=a86faaf34711d6b0f278b670d70a229a3cf0d479;p=meshlink diff --git a/src/event.h b/src/event.h index 7201b9a3..7d52a174 100644 --- a/src/event.h +++ b/src/event.h @@ -1,6 +1,6 @@ /* event.h -- I/O, timeout and signal event handling - Copyright (C) 2012-2013 Guus Sliepen + Copyright (C) 2014 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,21 +34,21 @@ typedef struct io_t { int flags; io_cb_t cb; void *data; - splay_node_t node; + struct splay_node_t node; } io_t; typedef struct timeout_t { struct timeval tv; timeout_cb_t cb; void *data; - splay_node_t node; + struct splay_node_t node; } timeout_t; typedef struct signal_t { int signum; signal_cb_t cb; void *data; - splay_node_t node; + struct splay_node_t node; } signal_t; extern struct timeval now;