From 34ce8134fec96758f92d4b5a47d151081c6b74d6 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Nov 2007 13:11:11 +0000 Subject: [PATCH] *** empty log message *** --- ev.c | 2 ++ ev.h | 8 ++++++++ ev_epoll.c | 2 ++ ev_select.c | 2 ++ 4 files changed, 14 insertions(+) diff --git a/ev.c b/ev.c index 6fac39c..7995b34 100644 --- a/ev.c +++ b/ev.c @@ -1,4 +1,6 @@ /* + * libev event processing core, watcher management + * * Copyright (c) 2007 Marc Alexander Lehmann * All rights reserved. * diff --git a/ev.h b/ev.h index a7898a5..1ffed6f 100644 --- a/ev.h +++ b/ev.h @@ -30,6 +30,10 @@ #ifndef EV_H #define EV_H +#ifdef __cplusplus +extern "C" { +#endif + typedef double ev_tstamp; /* eventmask, revents, events... */ @@ -245,5 +249,9 @@ void ev_child_start (struct ev_child *w); void ev_child_stop (struct ev_child *w); #endif +#ifdef __cplusplus +} +#endif + #endif diff --git a/ev_epoll.c b/ev_epoll.c index f0a9678..7614ac5 100644 --- a/ev_epoll.c +++ b/ev_epoll.c @@ -1,4 +1,6 @@ /* + * libev epoll fd activity backend + * * Copyright (c) 2007 Marc Alexander Lehmann * All rights reserved. * diff --git a/ev_select.c b/ev_select.c index 0dfa312..7bbf622 100644 --- a/ev_select.c +++ b/ev_select.c @@ -1,4 +1,6 @@ /* + * libev select fd activity backend + * * Copyright (c) 2007 Marc Alexander Lehmann * All rights reserved. * -- 2.43.0