summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>1998-02-03 21:51:53 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>1998-02-03 21:51:53 +0000
commit55f767d1d8e147ff94239b03ef3476b4e6fd482d (patch)
tree59d734c3d326ac2e2db6585452a2a1840b4880ca /lib
parent45e50e65b02d9ab76be27138e09d56c340e79c8a (diff)
Make __{CTOR,DTOR}_LIST__ extern instead of array of size zero
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/c++/c++rt0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/c++/c++rt0.c b/lib/csu/c++/c++rt0.c
index 25f22d729da..bf8b89bd3a0 100644
--- a/lib/csu/c++/c++rt0.c
+++ b/lib/csu/c++/c++rt0.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: c++rt0.c,v 1.1 1995/10/18 08:41:17 deraadt Exp $
+ * $Id: c++rt0.c,v 1.2 1998/02/03 21:51:52 marc Exp $
*/
/*
@@ -40,8 +40,8 @@
*/
#include <stdlib.h>
-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));