From 4f888c9dfc0ea6c9080846d5b7947f09d365abee Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 14 Sep 2006 05:00:02 +0000 Subject: [PATCH] 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 --- src/or/dirserv.c | 2 +- src/or/or.h | 2 +- 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);