diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-02-03 23:11:24 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-02-03 23:11:24 +0000 |
commit | b82317fe64a1fd7041130df16cfcc8ab859ed22d (patch) | |
tree | dfc425f31c5833722f60b220e71416188f297509 | |
parent | 6f430d1c95b70fcf266acf783f98d00a65b83d8a (diff) |
oops.
-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() { |