summaryrefslogtreecommitdiff
path: root/src/lib/process/daemon.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-08 17:32:26 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-08 17:32:26 -0400
commita57c27a1c749add88b088f570838373687a0c6fd (patch)
treebf14a87832ae51322b2c039b0c2174f4d67b7747 /src/lib/process/daemon.h
parent622a2c6bee19af3bab0e84702a36ff2df39db7e7 (diff)
downloadtor-a57c27a1c749add88b088f570838373687a0c6fd.tar.gz
tor-a57c27a1c749add88b088f570838373687a0c6fd.zip
Call crypto_postfork on start_daemon() instead.
Diffstat (limited to 'src/lib/process/daemon.h')
-rw-r--r--src/lib/process/daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/process/daemon.h b/src/lib/process/daemon.h
index 08cab17e12..c3b78029af 100644
--- a/src/lib/process/daemon.h
+++ b/src/lib/process/daemon.h
@@ -11,7 +11,7 @@
#ifndef TOR_DAEMON_H
#define TOR_DAEMON_H
-void start_daemon(void);
+int start_daemon(void);
int finish_daemon(const char *desired_cwd);
#endif