summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-02 20:35:23 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-02 20:35:23 +0000
commit8439c4ec2f96d60c4801a87efdfd8707606dcf62 (patch)
tree8322c1d7dedb8afa0cfe16c6cc260a6e85193dae /src/or/connection.c
parentf4f780b526df83032748782fb5917a7ee7412902 (diff)
downloadtor-8439c4ec2f96d60c4801a87efdfd8707606dcf62.tar.gz
tor-8439c4ec2f96d60c4801a87efdfd8707606dcf62.zip
r15512@catbus: nickm | 2007-10-02 16:27:43 -0400
Make some functions static; remove some dead code. svn:r11750
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 23a0be1fdd..b6af0910f9 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2369,6 +2369,7 @@ connection_get_by_type_state(int type, int state)
return NULL;
}
+#if 0
/** Return the connection of type <b>type</b> that is in state
* <b>state</b>, that was written to least recently, and that is not
* marked for close.
@@ -2386,6 +2387,7 @@ connection_get_by_type_state_lastwritten(int type, int state)
});
return best;
}
+#endif
/** Return a connection of type <b>type</b> that has rendquery equal
* to <b>rendquery</b>, and that is not marked for close. If state