diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-02-09 19:28:37 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-02-09 19:28:37 +0000 |
commit | c5122cb55ab1877a7f47e39b658697e727eaac90 (patch) | |
tree | 5bab99a3465863b73add2c62ca4cbe86c64c3624 | |
parent | c1fc4e8e11c3786496160bf2705ead2a4a271fee (diff) |
merge in rev 1.2
-rw-r--r-- | lib/csu/c++/c++rt0.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/csu/c++/c++rt0.c b/lib/csu/c++/c++rt0.c index daa0248a640..8c21e4029ee 100644 --- a/lib/csu/c++/c++rt0.c +++ b/lib/csu/c++/c++rt0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: c++rt0.c,v 1.3 1998/02/08 04:42:46 niklas Exp $ */ +/* $OpenBSD: c++rt0.c,v 1.4 1998/02/09 19:28:36 niklas Exp $ */ /* $NetBSD: c++rt0.c,v 1.6 1997/12/29 15:36:50 pk Exp $ */ /* @@ -41,7 +41,6 @@ */ #include <stdlib.h> - /* * We make the __{C,D}TOR_LIST__ symbols appear as type `SETD' and * include a dummy local function in the set. This keeps references @@ -53,8 +52,8 @@ static void dummy __P((void)) { return; } __asm(".stabs \"___CTOR_LIST__\",22,0,0,_dummy"); __asm(".stabs \"___DTOR_LIST__\",22,0,0,_dummy"); -void (*__CTOR_LIST__[0]) __P((void)); -void (*__DTOR_LIST__[0]) __P((void)); +extern void (*__CTOR_LIST__[]) __P((void)); +extern void (*__DTOR_LIST__[]) __P((void)); static void __dtors __P((void)); static void __ctors __P((void)); |