diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-08-14 16:44:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-08-14 16:44:59 -0400 |
commit | e56f0c9d33a6d7f30f790ec304c87900e9ea7d51 (patch) | |
tree | b342a898b2b7845f3bbd5cce577289e0bf4bc837 /src/lib/process | |
parent | a57c27a1c749add88b088f570838373687a0c6fd (diff) | |
download | tor-e56f0c9d33a6d7f30f790ec304c87900e9ea7d51.tar.gz tor-e56f0c9d33a6d7f30f790ec304c87900e9ea7d51.zip |
Adjust windows stubs for new start/finish_daemon() return types
Diffstat (limited to 'src/lib/process')
-rw-r--r-- | src/lib/process/daemon.c | 6 |
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) */ |