aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-17 15:28:07 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 07:50:13 -0400
commitac3136a6fb52500d849db7622b4af0af42038a91 (patch)
tree776607db29e0c623b0d0f7c61c24fa530e3e61d7 /src/app/config/config.h
parent98c3b3bb4ca7679a5045f285db7fd30b5d069615 (diff)
downloadtor-ac3136a6fb52500d849db7622b4af0af42038a91.tar.gz
tor-ac3136a6fb52500d849db7622b4af0af42038a91.zip
Make options_init_logs STATIC for testing.
Diffstat (limited to 'src/app/config/config.h')
-rw-r--r--src/app/config/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/config/config.h b/src/app/config/config.h
index e5b687c311..0c61fc7c0f 100644
--- a/src/app/config/config.h
+++ b/src/app/config/config.h
@@ -309,6 +309,8 @@ STATIC uint64_t compute_real_max_mem_in_queues(const uint64_t val,
STATIC int open_and_add_file_log(const log_severity_list_t *severity,
const char *fname,
int truncate_log);
+STATIC int options_init_logs(const or_options_t *old_options,
+ or_options_t *options, int validate_only);
#endif /* defined(CONFIG_PRIVATE) */