aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);