diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:40:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:40:31 -0400 |
commit | 931a5db2a7ded73ddd72cb6646b506d49782f3ec (patch) | |
tree | 2f7d2e4850f2e8c698fdc53bded13c23704034cf /src/lib/log | |
parent | b2d487ae2249a307cd23255dbb1a22241eefd6ef (diff) | |
download | tor-931a5db2a7ded73ddd72cb6646b506d49782f3ec.tar.gz tor-931a5db2a7ded73ddd72cb6646b506d49782f3ec.zip |
Re-run make autostyle.
Diffstat (limited to 'src/lib/log')
-rw-r--r-- | src/lib/log/log.h | 6 | ||||
-rw-r--r-- | src/lib/log/util_bug.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/log/log.h b/src/lib/log/log.h index 19cb9484d7..5cf8a36cf7 100644 --- a/src/lib/log/log.h +++ b/src/lib/log/log.h @@ -27,8 +27,8 @@ #error "Your syslog.h thinks high numbers are more important. " \ "We aren't prepared to deal with that." #endif -#endif -#else /* !(defined(HAVE_SYSLOG_H)) */ +#endif /* LOG_DEBUG < LOG_ERR */ +#else /* !defined(HAVE_SYSLOG_H) */ /* Note: Syslog's logging code refers to priorities, with 0 being the most * important. Thus, all our comparisons needed to be reversed when we added * syslog support. @@ -310,7 +310,7 @@ MOCK_DECL(STATIC void, logv, (int severity, log_domain_mask_t domain, va_list ap) CHECK_PRINTF(5,0)); MOCK_DECL(STATIC void, add_stream_log_impl,( const log_severity_list_t *severity, const char *name, int fd)); -#endif +#endif /* defined(LOG_PRIVATE) */ #if defined(LOG_PRIVATE) || defined(TOR_UNIT_TESTS) /** Given a severity, yields an index into log_severity_list_t.masks to use diff --git a/src/lib/log/util_bug.h b/src/lib/log/util_bug.h index dcff5fd9c3..d0a311ac61 100644 --- a/src/lib/log/util_bug.h +++ b/src/lib/log/util_bug.h @@ -225,7 +225,7 @@ 1)) \ : 0) #endif /* defined(__GNUC__) */ -#endif +#endif /* !defined(COCCI) */ #define IF_BUG_ONCE_VARNAME_(a) \ warning_logged_on_ ## a ## __ |