summaryrefslogtreecommitdiff
path: root/lib/zassert.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-10-24 16:50:35 -0400
committerGitHub <noreply@github.com>2020-10-24 16:50:35 -0400
commitcbd492990db19b51a24bdd6e8bfec4f79c0f11d5 (patch)
tree660d4e662cd49d32b968e2b00cb18e1928c49f90 /lib/zassert.h
parent874e77acceba36bdd1d15d5b368ce9e367e3628a (diff)
parentfc3ee1e04105c87e5d46ca99d1ac442bcc02d121 (diff)
Merge pull request #7194 from qlyoung/tracing
Tracing
Diffstat (limited to 'lib/zassert.h')
-rw-r--r--lib/zassert.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zassert.h b/lib/zassert.h
index e50a88f407..e6b254ee8d 100644
--- a/lib/zassert.h
+++ b/lib/zassert.h
@@ -27,6 +27,8 @@ extern void _zlog_assert_failed(const char *assertion, const char *file,
unsigned int line, const char *function)
__attribute__((noreturn));
+#undef __ASSERT_FUNCTION
+
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define __ASSERT_FUNCTION __func__
#elif defined(__GNUC__)