X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Flog.h;h=de0e000371adbbfd081cf9af3bbb04566441497c;hp=0dc5c261008fd46c22e1b794d566c26a47650581;hb=80514f9c9bb86dbba761e4b026e5d62156ea112c;hpb=6e8df5f00a3874decf1e5542da3d65b25f6da1dc diff --git a/src/shared/log.h b/src/shared/log.h index 0dc5c2610..de0e00037 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)) \