aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-30 15:21:06 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-30 15:21:06 -0400
commit7f0fb8e6083128ff20b30d8cd29c220e9427d95e (patch)
treec32347c9388b2fd8fd73a6ccc478f4531a7f390f /src/common/compat_libevent.h
parent7e67a240381c76b8d18dab862256b73c72d2711f (diff)
downloadtor-7f0fb8e6083128ff20b30d8cd29c220e9427d95e.tar
tor-7f0fb8e6083128ff20b30d8cd29c220e9427d95e.tar.gz
whitespace fixes
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r--src/common/compat_libevent.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 1decc8d5f..89b256396 100644
--- a/src/common/compat_libevent.h
+++ b/src/common/compat_libevent.h
@@ -9,15 +9,12 @@
struct event;
struct event_base;
-
#ifdef HAVE_EVENT2_EVENT_H
#include <event2/util.h>
-#else
-#ifndef EVUTIL_SOCKET_DEFINED
+#elif !defined(EVUTIL_SOCKET_DEFINED)
#define EVUTIL_SOCKET_DEFINED
#define evutil_socket_t int
#endif
-#endif
void configure_libevent_logging(void);
void suppress_libevent_log_msg(const char *msg);