projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add _Noreturn function attribute, with fallback for pre-C11 GNUC
[oweals/musl.git]
/
src
/
exit
/
abort.c
diff --git
a/src/exit/abort.c
b/src/exit/abort.c
index c5b9e5264f47eaf5cbaf6b198ddf70565d567f73..203dd35cb99d23b16a31409b149df824950b73f9 100644
(file)
--- a/
src/exit/abort.c
+++ b/
src/exit/abort.c
@@
-2,7
+2,7
@@
#include <signal.h>
#include "syscall.h"
-void abort(void)
+
_Noreturn
void abort(void)
{
raise(SIGABRT);
raise(SIGKILL);