diff options
author | teor <teor@torproject.org> | 2020-04-01 09:14:47 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-01 09:17:18 +1000 |
commit | f863954f1e4d52fa6b73521e878a7140fe06c257 (patch) | |
tree | 0450bec3cb06b06f69566964b04cfa59d25fcb55 /src/app | |
parent | 81687f5bc975842bb4d251881b04e19092ab336e (diff) | |
download | tor-f863954f1e4d52fa6b73521e878a7140fe06c257.tar.gz tor-f863954f1e4d52fa6b73521e878a7140fe06c257.zip |
Move LOG_PROTOCOL_WARN to app/config.h
LOG_PROTOCOL_WARN was in core/or.h, but the function it depends on is in
app/config.h. Put them in the same header, to reduce dependencies.
Part of 33633.
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/config/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/config/config.h b/src/app/config/config.h index 04d877e9da..f2408bc4f9 100644 --- a/src/app/config/config.h +++ b/src/app/config/config.h @@ -42,6 +42,8 @@ const char *escaped_safe_str(const char *address); void init_protocol_warning_severity_level(void); int get_protocol_warning_severity_level(void); +#define LOG_PROTOCOL_WARN (get_protocol_warning_severity_level()) + /** An error from options_trial_assign() or options_init_from_string(). */ typedef enum setopt_err_t { SETOPT_OK = 0, |