summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1995-06-14 05:16:04 +0000
committerjtc <jtc@NetBSD.org>1995-06-14 05:16:04 +0000
commitbebf03930625c1ff4cdb1dbc2bfd290babf0ce3f (patch)
treed642a9c41b965e04c4c18261f4b815d70b6e5cd5 /lib/libc/stdlib
parentd82ae8cad90e4b4a570c2c59fe434644f0e15198 (diff)
add extern qualifier to __atexit pointer declaration
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 5b81905e4f4..7100a2e8247 100644
--- a/lib/libc/stdlib/atexit.h
+++ b/lib/libc/stdlib/atexit.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)atexit.h 5.1 (Berkeley) 5/15/90
- * $Id: atexit.h,v 1.2 1993/08/01 18:37:20 mycroft Exp $
+ * $Id: atexit.h,v 1.3 1995/06/14 05:16:04 jtc Exp $
*/
/* must be at least 32 to guarantee ANSI conformance */
@@ -43,4 +43,4 @@ struct atexit {
void (*fns[ATEXIT_SIZE])(); /* the table itself */
};
-struct atexit *__atexit; /* points to head of LIFO stack */
+extern struct atexit *__atexit; /* points to head of LIFO stack */