diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-05-12 20:58:27 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-05-12 20:58:27 +0000 |
commit | 537fb82cbb3b0488535f94bbccb0899f1b6b027a (patch) | |
tree | 9687918384012548a8a3f859b4c6e3d3ad4eb8f2 /src/or/dns.c | |
parent | 32c42a0ee25fec091ee3e889578ef730b2a37959 (diff) | |
download | tor-537fb82cbb3b0488535f94bbccb0899f1b6b027a.tar.gz tor-537fb82cbb3b0488535f94bbccb0899f1b6b027a.zip |
Make some functions static
svn:r1857
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 84b9523a4a..47163733a2 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -66,7 +66,7 @@ static void purge_expired_resolves(uint32_t now); static int assign_to_dnsworker(connection_t *exitconn); static void dns_purge_resolve(struct cached_resolve *resolve); static void dns_found_answer(char *address, uint32_t addr, char outcome); -int dnsworker_main(void *data); +static int dnsworker_main(void *data); static int spawn_dnsworker(void); static void spawn_enough_dnsworkers(void); @@ -532,7 +532,7 @@ int connection_dns_process_inbuf(connection_t *conn) { * The dnsworker runs indefinitely, until its connection is closed or an error * occurs. */ -int dnsworker_main(void *data) { +static int dnsworker_main(void *data) { char address[MAX_ADDRESSLEN]; unsigned char address_len; char answer[5]; |