summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib/atexit.c')
-rw-r--r--lib/libc/stdlib/atexit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c
index ea2a7e2..a65dae5 100644
--- a/lib/libc/stdlib/atexit.c
+++ b/lib/libc/stdlib/atexit.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)atexit.c 8.1 (Berkeley) 6/4/93";
+static char sccsid[] = "@(#)atexit.c 8.2 (Berkeley) 7/3/94";
#endif /* LIBC_SCCS and not lint */
#include <stddef.h>
@@ -43,6 +43,8 @@ static char sccsid[] = "@(#)atexit.c 8.1 (Berkeley) 6/4/93";
#include <unistd.h>
#include "atexit.h"
+struct atexit *__atexit; /* points to head of LIFO stack */
+
/*
* Register a function to be performed at exit.
*/
OpenPOWER on IntegriCloud