diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-01-26 22:03:13 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-01-26 22:03:13 +0000 |
commit | ad07366da59386cda14af478e83fd2cf5cb22cc4 (patch) | |
tree | d3ae6a8e5fcb046d6c8bf259ab06f128e3b80313 | |
parent | 596b822337a0a2c7ec7f07f9ae8b70bae157575f (diff) | |
download | tor-ad07366da59386cda14af478e83fd2cf5cb22cc4.tar.gz tor-ad07366da59386cda14af478e83fd2cf5cb22cc4.zip |
Fix compile with warnings enabled
svn:r13301
-rw-r--r-- | src/or/rendclient.c | 2 | ||||
-rw-r--r-- | src/or/rendservice.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index c8f6f43f04..9e4475821a 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -336,7 +336,7 @@ directory_clean_last_hid_serv_requests(void) * in the case that no hidden service directory is left to ask for the * descriptor, return 0, and in case of a failure -1. <b>query</b> is only * passed for pretty log statements. */ -static int +int directory_get_from_hs_dir(const char *desc_id, const char *query) { smartlist_t *responsible_dirs = smartlist_create(); diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 2894702ee9..92806e8b05 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1034,7 +1034,7 @@ find_intro_circuit(rend_intro_point_t *intro, const char *pk_digest, * rend_encoded_v2_service_descriptor_t's in <b>descs</b> and upload them; * <b>service_id</b> and <b>seconds_valid</b> are only passed for logging * purposes. */ -static void +void directory_post_to_hs_dir(smartlist_t *descs, const char *service_id, int seconds_valid) { |