]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compile with warnings enabled
authorNick Mathewson <nickm@torproject.org>
Sat, 26 Jan 2008 22:03:13 +0000 (22:03 +0000)
committerNick Mathewson <nickm@torproject.org>
Sat, 26 Jan 2008 22:03:13 +0000 (22:03 +0000)
svn:r13301

src/or/rendclient.c
src/or/rendservice.c

index c8f6f43f04b38d0bc99cf3218a6d9018af2f340e..9e4475821a02a1a3eaa0af7bd4c2304e9bc9d9c2 100644 (file)
@@ -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();
index 2894702ee9c128973253d5461305d9750f445996..92806e8b058c160e54f116746956a71c63801756 100644 (file)
@@ -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)
 {