From c7aabb0c49bc39b828383e2eda64589b9d33884c Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sat, 30 Dec 1995 08:12:37 +0000 Subject: [PATCH] abort() and exit() need __dead tags in stdlib.h; mike.long@analog.com; netbsd pr#1845 --- src/include/stdlib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/stdlib.h b/src/include/stdlib.h index c42440b9..1a9f01de 100644 --- a/src/include/stdlib.h +++ b/src/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 __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));