aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-04 22:42:13 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-04 22:42:13 +0000
commit853e2d99b64cc886377f95b8f74e9f549769c410 (patch)
tree3c5949273d8d13229b51bdb8a2ecf4581d27dd18 /src/or/or.h
parentc4647545a02bd5f6b28bdb2bcd50a915ef04cf8c (diff)
downloadtor-853e2d99b64cc886377f95b8f74e9f549769c410.tar.gz
tor-853e2d99b64cc886377f95b8f74e9f549769c410.zip
Add a new warning to our "warn a lot" list: unused parameters. This means we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 79101a9a91..d7a0e1361a 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2227,7 +2227,7 @@ void consider_testing_reachability(void);
void router_orport_found_reachable(void);
void router_dirport_found_reachable(void);
void server_has_changed_ip(void);
-void consider_publishable_server(time_t now, int force);
+void consider_publishable_server(int force);
int authdir_mode(or_options_t *options);
int clique_mode(or_options_t *options);