summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-10 11:32:34 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-06 14:54:04 -0500
commit87b71a692a568453b3b4a19cf798d269a9b2fbf9 (patch)
tree3e49feb59f6c6133873b87f7f42374a1132bd85d
parentefa5020a9c34883543108f7301cb2177526ccaf8 (diff)
downloadtor-87b71a692a568453b3b4a19cf798d269a9b2fbf9.tar.gz
tor-87b71a692a568453b3b4a19cf798d269a9b2fbf9.zip
Remove senseless CHECK_PRINTF()s from util_bug.c
These belong in util_bug.h (and they already are there). Their presence made clang-format misindent these functions in a way that checkSpace.pl dislikes.
-rw-r--r--src/lib/log/util_bug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/log/util_bug.c b/src/lib/log/util_bug.c
index de44d30e4e..83045ebb90 100644
--- a/src/lib/log/util_bug.c
+++ b/src/lib/log/util_bug.c
@@ -71,7 +71,6 @@ tor_set_failed_assertion_callback(void (*fn)(void))
/** Helper for tor_assert: report the assertion failure. */
void
-CHECK_PRINTF(5, 6)
tor_assertion_failed_(const char *fname, unsigned int line,
const char *func, const char *expr,
const char *fmt, ...)
@@ -104,7 +103,6 @@ tor_assertion_failed_(const char *fname, unsigned int line,
/** Helper for tor_assert_nonfatal: report the assertion failure. */
void
-CHECK_PRINTF(6, 7)
tor_bug_occurred_(const char *fname, unsigned int line,
const char *func, const char *expr,
int once, const char *fmt, ...)