summaryrefslogtreecommitdiffstats
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-08 10:29:15 +0000
committerbde <bde@FreeBSD.org>1994-09-08 10:29:15 +0000
commitf5939bca932a556efe352fa732c5c8b10ba10303 (patch)
tree6e5777f69378e0d2e243428187f3743f94e33f60 /include/stdlib.h
parent255125cf4458ad72899f9a4a4efd4dc0dce1a09b (diff)
downloadFreeBSD-src-f5939bca932a556efe352fa732c5c8b10ba10303.zip
FreeBSD-src-f5939bca932a556efe352fa732c5c8b10ba10303.tar.gz
Declare functions that don't return as having attribute __dead2.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud