summaryrefslogtreecommitdiff
path: root/src/core/main.c
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/core/main.c
parent73020ab241866dce79b80cbebcaae537470c7086 (diff)
_noreturn_ --> noreturn for C11 compat
also define noreturn w/o <stdnoreturn.h>
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 6c3d9bfb18..eb5413ef3d 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -112,7 +112,7 @@ static FILE* serialization = NULL;
static void nop_handler(int sig) {
}
-_noreturn_ static void crash(int sig) {
+noreturn static void crash(int sig) {
if (getpid() != 1)
/* Pass this on immediately, if this is not PID 1 */