chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journal: fix against (theoretical) undefined behavior
[elogind.git]
/
src
/
shared
/
log.h
diff --git
a/src/shared/log.h
b/src/shared/log.h
index 0dc5c261008fd46c22e1b794d566c26a47650581..de0e000371adbbfd081cf9af3bbb04566441497c 100644
(file)
--- 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)) \