summaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-07-02 05:42:09 +0000
committerAndrea Shepard <andrea@torproject.org>2016-08-20 01:43:52 +0000
commite17083b4328490d8785c798eb4f41f653e6548d7 (patch)
tree62d7687f3da3c9aa157afa881d5cb90a580c3b2e /src/or/connection.h
parent26c2ded00cfcf1c86ebe10a65b6de0af0e5b76c7 (diff)
downloadtor-e17083b4328490d8785c798eb4f41f653e6548d7.tar.gz
tor-e17083b4328490d8785c798eb4f41f653e6548d7.zip
Unit test for kill_conn_list_for_oos()
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 83ee76932b..e2f1764549 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -34,8 +34,8 @@ void connection_about_to_close_connection(connection_t *conn);
void connection_close_immediate(connection_t *conn);
void connection_mark_for_close_(connection_t *conn,
int line, const char *file);
-void connection_mark_for_close_internal_(connection_t *conn,
- int line, const char *file);
+MOCK_DECL(void, connection_mark_for_close_internal_,
+ (connection_t *conn, int line, const char *file));
#define connection_mark_for_close(c) \
connection_mark_for_close_((c), __LINE__, SHORT_FILE__)