diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-30 08:12:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-30 08:12:38 +0000 |
commit | 4c46e0a04250f144ff46485011251bd2e1800e35 (patch) | |
tree | 35a6201c9c7b0dfa2debffefc092b5b4c33c5ea1 | |
parent | f770ec619e0120d5a0164fc431de3d8396f77338 (diff) |
abort() and exit() need __dead tags in stdlib.h; mike.long@analog.com;
netbsd pr#1845
-rw-r--r-- | include/stdlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index c42440b95c0..1a9f01de3b9 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdlib.h,v 1.24 1995/03/22 01:08:31 jtc Exp $ */ +/* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -85,7 +85,7 @@ typedef struct { #include <sys/cdefs.h> __BEGIN_DECLS -void abort __P((void)); +__dead void abort __P((void)); int abs __P((int)); int atexit __P((void (*)(void))); double atof __P((const char *)); @@ -95,7 +95,7 @@ void *bsearch __P((const void *, const void *, size_t, size_t, int (*)(const void *, const void *))); void *calloc __P((size_t, size_t)); div_t div __P((int, int)); -void exit __P((int)); +__dead void exit __P((int)); void free __P((void *)); char *getenv __P((const char *)); long labs __P((long)); |