summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-15 13:03:21 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-15 13:03:21 -0500
commit744958e0ddc74e7f4db12a5d078d1188bf9f48e1 (patch)
tree7de082142b97ee8d6b57b143da1f1a5e257c4a4c /src/or/directory.c
parenta7d44731d9ac831cd68f34ac640b50cdde3a60af (diff)
downloadtor-744958e0ddc74e7f4db12a5d078d1188bf9f48e1.tar.gz
tor-744958e0ddc74e7f4db12a5d078d1188bf9f48e1.zip
Fix a few compilation warnings and errors
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 63bbdafd3f..8370095e92 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -3441,7 +3441,7 @@ connection_dir_finished_flushing(dir_connection_t *conn)
/* A helper function for connection_dir_close_consensus_conn_if_extra()
* and connection_dir_close_extra_consensus_conns() that returns 0 if
* we can't have, or don't want to close, excess consensus connections. */
-int
+STATIC int
connection_dir_would_close_consensus_conn_helper(void)
{
const or_options_t *options = get_options();