diff options
-rw-r--r-- | lib/csu/crtbegin.c | 7 |
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() { |