summaryrefslogtreecommitdiff
path: root/lib/csu
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-03 23:11:24 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-03 23:11:24 +0000
commitb82317fe64a1fd7041130df16cfcc8ab859ed22d (patch)
treedfc425f31c5833722f60b220e71416188f297509 /lib/csu
parent6f430d1c95b70fcf266acf783f98d00a65b83d8a (diff)
oops.
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/crtbegin.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/csu/crtbegin.c b/lib/csu/crtbegin.c
index cef8f19c171..b5be9e6f014 100644
--- a/lib/csu/crtbegin.c
+++ b/lib/csu/crtbegin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crtbegin.c,v 1.4 2001/02/03 23:08:41 art Exp $ */
+/* $OpenBSD: crtbegin.c,v 1.5 2001/02/03 23:11:23 art Exp $ */
/* $NetBSD: crtbegin.c,v 1.1 1996/09/12 16:59:03 cgd Exp $ */
/*
@@ -76,7 +76,8 @@ __ctors()
(**p++)();
}
-extern void __init(void) __attribute__((section(".init")));
+void __init(void) __attribute__((section(".init")));
+void __fini(void) __attribute__((section(".fini")));
void
__init()
@@ -95,8 +96,6 @@ __init()
atexit(__fini);
}
-extern void __fini(void) __attribute__((section(".fini")));
-
void
__fini()
{