ソースを参照

Fix compile with warnings enabled

svn:r13301
Nick Mathewson 16 年 前
コミット
ad07366da5
2 ファイル変更2 行追加2 行削除
  1. 1 1
      src/or/rendclient.c
  2. 1 1
      src/or/rendservice.c

+ 1 - 1
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();

+ 1 - 1
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)
 {