From f5939bca932a556efe352fa732c5c8b10ba10303 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 8 Sep 1994 10:29:15 +0000 Subject: Declare functions that don't return as having attribute __dead2. --- include/stdlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index 80cd361..31fa8e3 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -77,7 +77,7 @@ extern int __mb_cur_max; __BEGIN_DECLS __dead void - abort __P((void)); + abort __P((void)) __dead2; __pure int abs __P((int)); int atexit __P((void (*)(void))); @@ -90,7 +90,7 @@ void *calloc __P((size_t, size_t)); __pure div_t div __P((int, int)); __dead void - exit __P((int)); + exit __P((int)) __dead2; void free __P((void *)); char *getenv __P((const char *)); __pure long -- cgit v1.1