[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13301: Fix compile with warnings enabled (tor/trunk/src/or)



Author: nickm
Date: 2008-01-26 17:03:13 -0500 (Sat, 26 Jan 2008)
New Revision: 13301

Modified:
   tor/trunk/src/or/rendclient.c
   tor/trunk/src/or/rendservice.c
Log:
Fix compile with warnings enabled

Modified: tor/trunk/src/or/rendclient.c
===================================================================
--- tor/trunk/src/or/rendclient.c	2008-01-26 21:29:46 UTC (rev 13300)
+++ tor/trunk/src/or/rendclient.c	2008-01-26 22:03:13 UTC (rev 13301)
@@ -336,7 +336,7 @@
  * 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();

Modified: tor/trunk/src/or/rendservice.c
===================================================================
--- tor/trunk/src/or/rendservice.c	2008-01-26 21:29:46 UTC (rev 13300)
+++ tor/trunk/src/or/rendservice.c	2008-01-26 22:03:13 UTC (rev 13301)
@@ -1034,7 +1034,7 @@
  * 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)
 {