From e56f0c9d33a6d7f30f790ec304c87900e9ea7d51 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 14 Aug 2018 16:44:59 -0400 Subject: [PATCH] Adjust windows stubs for new start/finish_daemon() return types --- src/lib/process/daemon.c | 6 ++++-- 1 file 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) */