summaryrefslogtreecommitdiff
path: root/src/shared/util.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/shared/util.c
parent73020ab241866dce79b80cbebcaae537470c7086 (diff)
_noreturn_ --> noreturn for C11 compat
also define noreturn w/o <stdnoreturn.h>
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 80dbf73c94..2cf9fbe53e 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -3469,7 +3469,7 @@ int wait_for_terminate_and_warn(const char *name, pid_t pid) {
return -EPROTO;
}
-_noreturn_ void freeze(void) {
+noreturn void freeze(void) {
/* Make sure nobody waits for us on a socket anymore */
close_all_fds(NULL, 0);