summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-02 03:02:17 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-02 03:02:17 +0000
commitad4dc7448257c229860206b078e02778bcb1b408 (patch)
tree823243e7bc13876a466176db862028402dd4526b /src/or/main.c
parent85c79ffbc7b965355c3b51cc81000d517089e74e (diff)
downloadtor-ad4dc7448257c229860206b078e02778bcb1b408.tar.gz
tor-ad4dc7448257c229860206b078e02778bcb1b408.zip
Use a stricter set of warnings; make them all pass.
svn:r2645
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 942e6cd330..c3e8c6c386 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1019,7 +1019,7 @@ static int network_init(void)
/** Called by exit() as we shut down the process.
*/
-void exit_function(void)
+static void exit_function(void)
{
/* XXX if we ever daemonize, this gets called immediately */
#ifdef MS_WINDOWS
@@ -1096,7 +1096,7 @@ void tor_cleanup(void) {
}
/** Read/create keys as needed, and echo our fingerprint to stdout. */
-void do_list_fingerprint(void)
+static void do_list_fingerprint(void)
{
char buf[FINGERPRINT_LEN+1];
crypto_pk_env_t *k;