diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-07-19 10:17:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-07-19 10:17:22 -0400 |
commit | 5fb070a14da4802f11e84ed83143668502a227c4 (patch) | |
tree | 59af413736d2c4c802e43d2654e5aeecb2f87e72 /src/lib/err/backtrace.c | |
parent | f682de609b456ccfdb19aef1a1afa8c0873ceb51 (diff) | |
download | tor-5fb070a14da4802f11e84ed83143668502a227c4.tar.gz tor-5fb070a14da4802f11e84ed83143668502a227c4.zip |
Extract the log_domain_t type to a lower-level header
This way, both err and log may depend on it.
Diffstat (limited to 'src/lib/err/backtrace.c')
-rw-r--r-- | src/lib/err/backtrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/err/backtrace.c b/src/lib/err/backtrace.c index f5fa7ec299..e6cbe3d326 100644 --- a/src/lib/err/backtrace.c +++ b/src/lib/err/backtrace.c @@ -115,7 +115,7 @@ clean_backtrace(void **stack, size_t depth, const ucontext_t *ctx) * that with a backtrace log. Send messages via the tor_log function at * logger". */ void -log_backtrace_impl(int severity, uint64_t domain, const char *msg, +log_backtrace_impl(int severity, log_domain_mask_t domain, const char *msg, tor_log_fn logger) { size_t depth; @@ -240,7 +240,7 @@ remove_bt_handler(void) #ifdef NO_BACKTRACE_IMPL void -log_backtrace_impl(int severity, uint64_t domain, const char *msg, +log_backtrace_impl(int severity, log_domain_mask_t domain, const char *msg, tor_log_fn logger) { logger(severity, domain, "%s. (Stack trace not available)", msg); |