commit e56f0c9d33a6d7f30f790ec304c87900e9ea7d51 Author: Nick Mathewson nickm@torproject.org Date: Tue Aug 14 16:44:59 2018 -0400
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 3fc224104..c64affd8b 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) */
tor-commits@lists.torproject.org