summaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-15 16:15:27 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-15 16:24:21 -0400
commit7a597718bb9cda3dd553c2b12fd42f04ead44c85 (patch)
tree4f469c213ce1a688c8bf4c8f6874823117e705f9 /src/common/compat_libevent.c
parent40ce9819dd7c589f624715c9c800cff714140a70 (diff)
downloadtor-7a597718bb9cda3dd553c2b12fd42f04ead44c85.tar.gz
tor-7a597718bb9cda3dd553c2b12fd42f04ead44c85.zip
Split some long #if lines to make the #endif annotator happy
Diffstat (limited to 'src/common/compat_libevent.c')
-rw-r--r--src/common/compat_libevent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c
index 31eb4ac496..df61a7d8e7 100644
--- a/src/common/compat_libevent.c
+++ b/src/common/compat_libevent.c
@@ -237,8 +237,9 @@ tor_init_libevent_rng(void)
return rv;
}
-#if defined(LIBEVENT_VERSION_NUMBER) && LIBEVENT_VERSION_NUMBER >= V(2,1,1) \
- && !defined(TOR_UNIT_TESTS)
+#if defined(LIBEVENT_VERSION_NUMBER) && \
+ LIBEVENT_VERSION_NUMBER >= V(2,1,1) && \
+ !defined(TOR_UNIT_TESTS)
void
tor_gettimeofday_cached(struct timeval *tv)
{