about summary refs log tree commit diff
path: root/src/exit/abort.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-06 23:12:27 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-06 23:12:27 -0400
commitc8ea985748a6857ac5db9ef50f9c92e2966c04d5 (patch)
tree813479016d8106b6b7e8da8630754d8a8b1deff7 /src/exit/abort.c
parentac5d085691e5a797a21ae36111aa0b274e1cf4ba (diff)
downloadmusl-c8ea985748a6857ac5db9ef50f9c92e2966c04d5.tar.gz
musl-c8ea985748a6857ac5db9ef50f9c92e2966c04d5.tar.xz
musl-c8ea985748a6857ac5db9ef50f9c92e2966c04d5.zip
add _Noreturn function attribute, with fallback for pre-C11 GNUC
Diffstat (limited to 'src/exit/abort.c')
-rw-r--r--src/exit/abort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/abort.c b/src/exit/abort.c
index c5b9e526..203dd35c 100644
--- 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);