summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-27 18:16:37 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-27 18:16:37 +0000
commitce5709184bef665a545bcbf207598ad0f991a67b (patch)
tree58bf49cd59a7d236e2146ef3a86327929ca637fb /src/or/or.h
parent6874c3990426ca4efd4e88796854f2bab60df54d (diff)
downloadtor-ce5709184bef665a545bcbf207598ad0f991a67b.tar.gz
tor-ce5709184bef665a545bcbf207598ad0f991a67b.zip
Pass with -Wstrict-prototypes
svn:r2614
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 780cff32fc..92bf66e97b 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -948,7 +948,7 @@ struct socks_request_t {
/********************************* buffers.c ***************************/
-buf_t *buf_new();
+buf_t *buf_new(void);
buf_t *buf_new_with_capacity(size_t size);
void buf_free(buf_t *buf);
void buf_clear(buf_t *buf);
@@ -1207,11 +1207,11 @@ int connection_dir_finished_connecting(connection_t *conn);
int dirserv_add_own_fingerprint(const char *nickname, crypto_pk_env_t *pk);
int dirserv_parse_fingerprint_file(const char *fname);
int dirserv_router_fingerprint_is_known(const routerinfo_t *router);
-void dirserv_free_fingerprint_list();
+void dirserv_free_fingerprint_list(void);
const char *dirserv_get_nickname_by_digest(const char *digest);
int dirserv_add_descriptor(const char **desc);
int dirserv_load_from_directory_string(const char *dir);
-void dirserv_free_descriptors();
+void dirserv_free_descriptors(void);
void dirserv_remove_old_servers(int age);
int dirserv_dump_directory_to_string(char *s, size_t maxlen,
crypto_pk_env_t *private_key);