X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fevent.h;h=7adaf85e546d2cdb08bf38ae69d3d56358c53004;hb=5c76d51d0badd8a35e3883f18a5792e830448768;hp=0ff8e01c0ca7a0804351f88aaee7971b0983d526;hpb=313a752cb5fbf27450d34c15b0085d2d8a4147af;p=tinc diff --git a/src/event.h b/src/event.h index 0ff8e01c..7adaf85e 100644 --- a/src/event.h +++ b/src/event.h @@ -1,3 +1,6 @@ +#ifndef TINC_EVENT_H +#define TINC_EVENT_H + /* event.h -- I/O, timeout and signal event handling Copyright (C) 2012-2013 Guus Sliepen @@ -17,9 +20,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_EVENT_H__ -#define __TINC_EVENT_H__ - #include "splay_tree.h" #define IO_READ 1 @@ -58,7 +58,7 @@ extern struct timeval now; extern void io_add(io_t *io, io_cb_t cb, void *data, int fd, int flags); #ifdef HAVE_MINGW -extern void io_add_event(io_t *io, io_cb_t cb, void* data, WSAEVENT event); +extern void io_add_event(io_t *io, io_cb_t cb, void *data, WSAEVENT event); #endif extern void io_del(io_t *io); extern void io_set(io_t *io, int flags);