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/log/log.h | |
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/log/log.h')
-rw-r--r-- | src/lib/log/log.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/log/log.h b/src/lib/log/log.h index 301c7d571c..c4a27782c3 100644 --- a/src/lib/log/log.h +++ b/src/lib/log/log.h @@ -16,6 +16,7 @@ #include <stdarg.h> #include "lib/cc/torint.h" #include "lib/cc/compat_compiler.h" +#include "lib/defs/logging_types.h" #include "lib/testsupport/testsupport.h" #ifdef HAVE_SYSLOG_H @@ -132,9 +133,6 @@ * would. Used as a flag, not a log domain. */ #define LD_NOFUNCNAME (UINT64_C(1)<<63) -/** Mask of zero or more log domains, OR'd together. */ -typedef uint64_t log_domain_mask_t; - /** Configures which severities are logged for each logging domain for a given * log target. */ typedef struct log_severity_list_t { |