summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-07-16 16:52:16 +0200
committerNick Mathewson <nickm@torproject.org>2014-07-16 16:52:16 +0200
commit5690284559af012c279e9b989497ccc2e03cfc70 (patch)
treed9a9eb2232377f8d38bcb06b82daf0bb921e585a /src/or/entrynodes.c
parent368ff2291b0b400e0ee908ad465ed6f0f56330ec (diff)
downloadtor-5690284559af012c279e9b989497ccc2e03cfc70.tar.gz
tor-5690284559af012c279e9b989497ccc2e03cfc70.zip
Fix wide lines, make entry_is_live() non-inline
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index 65a3ae3059..4d09195796 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -190,8 +190,9 @@ entry_is_time_to_retry(const entry_guard_t *e, time_t now)
* If need_descriptor is true, only return the node if we currently have
* a descriptor (routerinfo or microdesc) for it.
*/
-STATIC INLINE const node_t *
-entry_is_live(const entry_guard_t *e, entry_is_live_flags_t flags, const char **msg)
+STATIC const node_t *
+entry_is_live(const entry_guard_t *e, entry_is_live_flags_t flags,
+ const char **msg)
{
const node_t *node;
const or_options_t *options = get_options();