summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-30 08:12:37 +0000
committerderaadt <deraadt@openbsd.org>1995-12-30 08:12:37 +0000
commit336c580af34fa7538234c5981f09b4c5f76a30c9 (patch)
tree9be37a7685fa7cfa854a24a963e37c8cef445657
parentfrom netbsd; fix option and add info on disable sync. fixes pr#1802 (diff)
downloadwireguard-openbsd-336c580af34fa7538234c5981f09b4c5f76a30c9.tar.xz
wireguard-openbsd-336c580af34fa7538234c5981f09b4c5f76a30c9.zip
abort() and exit() need __dead tags in stdlib.h; mike.long@analog.com;
netbsd pr#1845
-rw-r--r--include/stdlib.h6
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));