summaryrefslogtreecommitdiff
path: root/src/shared/log.h
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2013-12-16 08:53:53 -0800
committerLennart Poettering <lennart@poettering.net>2013-12-17 21:51:24 +0100
commit919ce0b7affc6fbd68598b709faf477f56c22ac1 (patch)
treeb629e38d0718c37d4e8e12d5f476851ad903476e /src/shared/log.h
parent73020ab241866dce79b80cbebcaae537470c7086 (diff)
_noreturn_ --> noreturn for C11 compat
also define noreturn w/o <stdnoreturn.h>
Diffstat (limited to 'src/shared/log.h')
-rw-r--r--src/shared/log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/log.h b/src/shared/log.h
index de0e000371..3dcfa11308 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -124,13 +124,13 @@ int log_dump_internal(
const char *func,
char *buffer);
-_noreturn_ void log_assert_failed(
+noreturn void log_assert_failed(
const char *text,
const char *file,
int line,
const char *func);
-_noreturn_ void log_assert_failed_unreachable(
+noreturn void log_assert_failed_unreachable(
const char *text,
const char *file,
int line,