From b82317fe64a1fd7041130df16cfcc8ab859ed22d Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Sat, 3 Feb 2001 23:11:24 +0000 Subject: oops. --- lib/csu/crtbegin.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/csu') 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() { -- cgit v1.2.3