summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/exit.c')
-rw-r--r--src/lib/libc/stdlib/exit.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/exit.c b/src/lib/libc/stdlib/exit.c
index a75b32abeb..a0960e83c4 100644
--- a/src/lib/libc/stdlib/exit.c
+++ b/src/lib/libc/stdlib/exit.c
@@ -28,7 +28,7 @@
28 */ 28 */
29 29
30#if defined(LIBC_SCCS) && !defined(lint) 30#if defined(LIBC_SCCS) && !defined(lint)
31static char *rcsid = "$OpenBSD: exit.c,v 1.9 2003/06/02 20:18:37 millert Exp $"; 31static char *rcsid = "$OpenBSD: exit.c,v 1.10 2005/03/30 18:51:49 pat Exp $";
32#endif /* LIBC_SCCS and not lint */ 32#endif /* LIBC_SCCS and not lint */
33 33
34#include <sys/types.h> 34#include <sys/types.h>
@@ -51,11 +51,10 @@ int __isthreaded = 0;
51 * Exit, flushing stdio buffers if necessary. 51 * Exit, flushing stdio buffers if necessary.
52 */ 52 */
53void 53void
54exit(status) 54exit(int status)
55 int status;
56{ 55{
57 register struct atexit *p, *q; 56 struct atexit *p, *q;
58 register int n, pgsize = getpagesize(); 57 int n, pgsize = getpagesize();
59 58
60 if (!__atexit_invalid) { 59 if (!__atexit_invalid) {
61 p = __atexit; 60 p = __atexit;