]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Adjust windows stubs for new start/finish_daemon() return types
authorNick Mathewson <nickm@torproject.org>
Tue, 14 Aug 2018 20:44:59 +0000 (16:44 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 14 Aug 2018 20:44:59 +0000 (16:44 -0400)
src/lib/process/daemon.c

index 3fc2241045a5e28aa51de63b4c5533c9155e1034..c64affd8b92f964ec7502d0199d9ee47890bffe6 100644 (file)
@@ -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) */