From 80514f9c9bb86dbba761e4b026e5d62156ea112c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 10 Dec 2013 17:01:10 +0000 Subject: macro: log assertion at debug level in assert_return() --- src/shared/log.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/shared/log.h') diff --git a/src/shared/log.h b/src/shared/log.h index 0dc5c26100..de0e000371 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -136,6 +136,12 @@ _noreturn_ void log_assert_failed_unreachable( int line, const char *func); +void log_assert_failed_return( + const char *text, + const char *file, + int line, + const char *func); + #define log_full(level, ...) \ do { \ if (log_get_max_level() >= (level)) \ -- cgit v1.2.3-54-g00ecf