diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 2 | ||||
-rw-r--r-- | src/common/util.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 402cfbf78..cddc8a9a9 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -2973,7 +2973,7 @@ format_helper_exit_status(unsigned char child_state, int saved_errno, * -1. Some parts of this code are based on the POSIX subprocess module from * Python. */ -static int +int tor_spawn_background(const char *const filename, int *stdout_read, int *stderr_read, const char **argv) { diff --git a/src/common/util.h b/src/common/util.h index 86555eeb1..8c2a9be32 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -350,6 +350,8 @@ HANDLE load_windows_system_library(const TCHAR *library_name); #ifdef UTIL_PRIVATE /* Prototypes for private functions only used by util.c (and unit tests) */ +int tor_spawn_background(const char *const filename, int *stdout_read, + int *stderr_read, const char **argv); void format_helper_exit_status(unsigned char child_state, int saved_errno, char *hex_errno); |