summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-07-31 07:08:42 +0000
committerderaadt <deraadt@openbsd.org>2003-07-31 07:08:42 +0000
commit917489444ad67f17b8b40983647f98a8f0f9d2dc (patch)
tree5db8defc39f4c2c707da323e62d78d13cad85ee4 /lib/libc
parentfix the license (diff)
downloadwireguard-openbsd-917489444ad67f17b8b40983647f98a8f0f9d2dc.tar.xz
wireguard-openbsd-917489444ad67f17b8b40983647f98a8f0f9d2dc.zip
fix a proto
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/atexit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/atexit.h b/lib/libc/stdlib/atexit.h
index 28bf3a7f270..21b0c2e5327 100644
--- a/lib/libc/stdlib/atexit.h
+++ b/lib/libc/stdlib/atexit.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atexit.h,v 1.5 2002/08/30 07:58:07 dhartmei Exp $ */
+/* $OpenBSD: atexit.h,v 1.6 2003/07/31 07:08:42 deraadt Exp $ */
/*
* Copyright (c) 2002 Daniel Hartmeier
@@ -34,7 +34,7 @@ struct atexit {
struct atexit *next; /* next in list */
int ind; /* next index in this table */
int max; /* max entries >= ATEXIT_SIZE */
- void (*fns[1])(); /* the table itself */
+ void (*fns[1])(void); /* the table itself */
};
extern int __atexit_invalid;