chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collect, keymap, systemctl: use _noreturn_
[elogind.git]
/
src
/
systemctl
/
systemctl.c
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index e587cfbfae552e0b10fc1d33be62e29ee0d043d8..18c8abeaad3a4a20700afe3bc23f9746ef267a31 100644
(file)
--- a/
src/systemctl/systemctl.c
+++ b/
src/systemctl/systemctl.c
@@
-5641,7
+5641,7
@@
done:
return 0;
}
return 0;
}
-static void halt_now(enum action a) {
+static
_noreturn_
void halt_now(enum action a) {
/* Make sure C-A-D is handled by the kernel from this
* point on... */
/* Make sure C-A-D is handled by the kernel from this
* point on... */