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/cpuworker.c | |
parent | 32c42a0ee25fec091ee3e889578ef730b2a37959 (diff) | |
download | tor-537fb82cbb3b0488535f94bbccb0899f1b6b027a.tar tor-537fb82cbb3b0488535f94bbccb0899f1b6b027a.tar.gz |
Make some functions static
svn:r1857
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 180b07e1a..294388875 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -34,7 +34,7 @@ static int num_cpuworkers_busy=0; * the last time we got a key rotation event. */ static time_t last_rotation_time=0; -int cpuworker_main(void *data); +static int cpuworker_main(void *data); static int spawn_cpuworker(void); static void spawn_enough_cpuworkers(void); static void process_pending_task(connection_t *cpuworker); @@ -183,7 +183,7 @@ done_processing: * Onionskin challenge ONIONSKIN_REPLY_LEN * Negotiated keys KEY_LEN*2+DIGEST_LEN*2 */ -int cpuworker_main(void *data) { +static int cpuworker_main(void *data) { unsigned char question[ONIONSKIN_CHALLENGE_LEN]; unsigned char question_type; int *fdarray = data; |