summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-31 07:08:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-31 07:08:43 +0000
commit589c06e61b6ec2ba241d5ed4bb9c0205dcf09903 (patch)
treeadd5fbf81a1a3528f3be85269dadb210afc31cb8 /lib/libc/stdlib
parentb41df739c70e6948a53d9e74a7254751be248c14 (diff)
fix a proto
Diffstat (limited to 'lib/libc/stdlib')
-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;