summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-14 16:44:59 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-14 16:44:59 -0400
commite56f0c9d33a6d7f30f790ec304c87900e9ea7d51 (patch)
treeb342a898b2b7845f3bbd5cce577289e0bf4bc837
parenta57c27a1c749add88b088f570838373687a0c6fd (diff)
downloadtor-e56f0c9d33a6d7f30f790ec304c87900e9ea7d51.tar.gz
tor-e56f0c9d33a6d7f30f790ec304c87900e9ea7d51.zip
Adjust windows stubs for new start/finish_daemon() return types
-rw-r--r--src/lib/process/daemon.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/process/daemon.c b/src/lib/process/daemon.c
index 3fc2241045..c64affd8b9 100644
--- a/src/lib/process/daemon.c
+++ b/src/lib/process/daemon.c
@@ -157,13 +157,15 @@ finish_daemon(const char *desired_cwd)
}
#else /* !(!defined(_WIN32)) */
/* defined(_WIN32) */
-void
+int
start_daemon(void)
{
+ return 0;
}
-void
+int
finish_daemon(const char *cp)
{
(void)cp;
+ return 0;
}
#endif /* !defined(_WIN32) */