aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-14 05:00:02 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-14 05:00:02 +0000
commit4f888c9dfc0ea6c9080846d5b7947f09d365abee (patch)
tree2e99a15fb405796228199d6d848179741e041354 /src
parent28cac25d7e438c7081e9d2c3ecdf86beb2360ff8 (diff)
downloadtor-4f888c9dfc0ea6c9080846d5b7947f09d365abee.tar.gz
tor-4f888c9dfc0ea6c9080846d5b7947f09d365abee.zip
r8808@senior-two-eighty: nickm | 2006-09-14 00:59:54 -0400
House style for no-args functions is old-style C, not C++ svn:r8388
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c2
-rw-r--r--src/or/or.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index f01a7d5ff0..b87f78ca59 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -129,7 +129,7 @@ dirserv_add_own_fingerprint(const char *nickname, crypto_pk_env_t *pk)
* failure, leave the current fingerprint list untouched, and
* return -1. */
int
-dirserv_load_fingerprint_file()
+dirserv_load_fingerprint_file(void)
{
char fname[512];
char *cf;
diff --git a/src/or/or.h b/src/or/or.h
index 43f13328ae..ed9ffa079c 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2095,7 +2095,7 @@ char *directory_dump_request_log(void);
int connection_dirserv_flushed_some(dir_connection_t *conn);
int dirserv_add_own_fingerprint(const char *nickname, crypto_pk_env_t *pk);
-int dirserv_load_fingerprint_file();
+int dirserv_load_fingerprint_file(void);
void dirserv_free_fingerprint_list(void);
const char *dirserv_get_nickname_by_digest(const char *digest);
int dirserv_add_descriptor(const char *desc, const char **msg);