diff options
author | Xin LI <delphij@FreeBSD.org> | 2016-04-27 05:37:54 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2016-04-27 05:37:54 +0000 |
commit | c1950318d1af96666bb3a80bf73cb4790f6dbcea (patch) | |
tree | 5ecca25ff6220a3f621f68d501903e6b8f1206ab /libntp/work_fork.c | |
parent | cbb26d1b6673ba1c6efd6e36a06fb6a56263b5fc (diff) |
Notes
Diffstat (limited to 'libntp/work_fork.c')
-rw-r--r-- | libntp/work_fork.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libntp/work_fork.c b/libntp/work_fork.c index 96c550e98594..6c9545aa9cbc 100644 --- a/libntp/work_fork.c +++ b/libntp/work_fork.c @@ -451,7 +451,7 @@ fork_blocking_child( } } -#ifdef HAVE_DROPROOT +#if defined(HAVE_DROPROOT) && !defined(NEED_EARLY_FORK) /* defer the fork until after root is dropped */ if (droproot && !root_dropped) return; @@ -540,6 +540,11 @@ fork_blocking_child( } +void worker_global_lock(int inOrOut) +{ + (void)inOrOut; +} + #else /* !WORK_FORK follows */ char work_fork_nonempty_compilation_unit; #endif |