From 1e6da6a605b1132cac9be71336d5d836d141c396 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 22 May 2013 06:53:17 +0200 Subject: [PATCH] : Use _Noreturn for C11's quick_exit(). Taken-from: FreeBSD --- include/stdlib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/stdlib.h b/include/stdlib.h index 9e2f41f884..e3245ce81b 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -301,7 +301,8 @@ extern char *suboptarg; /* getsubopt(3) external variable */ */ #if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L || __BSD_VISIBLE int at_quick_exit(void (*func)(void)); -void quick_exit(int) __dead2; +_Noreturn void + quick_exit(int); void *aligned_alloc(size_t, size_t); #endif /* __ISO_C_VISIBLE >= 2011 */ -- 2.41.0