mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Make some functions static
svn:r1857
This commit is contained in:
+1
-6
@@ -24,7 +24,7 @@ rend_client_introcirc_is_open(circuit_t *circ)
|
||||
/** Send the establish-rendezvous cell along a rendezvous circuit. if
|
||||
* it fails, mark the circ for close and return -1. else return 0.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
rend_client_send_establish_rendezvous(circuit_t *circ)
|
||||
{
|
||||
tor_assert(circ->purpose == CIRCUIT_PURPOSE_C_ESTABLISH_REND);
|
||||
@@ -389,11 +389,6 @@ void rend_client_desc_fetched(char *query, int success) {
|
||||
}
|
||||
}
|
||||
|
||||
/** Return 0 if one and two are the same service ids, else -1 or 1 */
|
||||
int rend_cmp_service_ids(const char *one, const char *two) {
|
||||
return strcasecmp(one,two);
|
||||
}
|
||||
|
||||
/** strdup a nickname for a random introduction
|
||||
* point of query. return NULL if error.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user