diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-06-22 14:08:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-11 16:13:17 -0400 |
commit | 0fd8ce15c2d970368d1ccf5f77a4e407a008a76d (patch) | |
tree | 6ddc8302d4f4a1418d010f75395d2fc515cbd323 | |
parent | a2ad31a92b85158f0dfa0a219ae5270e03b2ef02 (diff) | |
download | tor-0fd8ce15c2d970368d1ccf5f77a4e407a008a76d.tar.gz tor-0fd8ce15c2d970368d1ccf5f77a4e407a008a76d.zip |
Make a function static
Now that connection_dir_about_to_close() is in directory.c, there's
no reason to expose connection_dir_request_failed().
-rw-r--r-- | src/or/directory.c | 2 | ||||
-rw-r--r-- | src/or/directory.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index c0d4c22be3..ac35d3c599 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -645,7 +645,7 @@ directory_conn_is_self_reachability_test(dir_connection_t *conn) * server due to a network error: Mark the router as down and try again if * possible. */ -void +static void connection_dir_request_failed(dir_connection_t *conn) { if (directory_conn_is_self_reachability_test(conn)) { diff --git a/src/or/directory.h b/src/or/directory.h index b2c2220da2..8c63bb5dfd 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -49,7 +49,6 @@ int connection_dir_process_inbuf(dir_connection_t *conn); int connection_dir_finished_flushing(dir_connection_t *conn); int connection_dir_finished_connecting(dir_connection_t *conn); void connection_dir_about_to_close(dir_connection_t *dir_conn); -void connection_dir_request_failed(dir_connection_t *conn); void directory_initiate_command(const char *address, const tor_addr_t *addr, uint16_t or_port, uint16_t dir_port, int supports_conditional_consensus, |