From 99b1c586a59f235bb36457739f40ffe98fb18b66 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Thu, 5 Aug 2004 05:31:30 +0000 Subject: [PATCH] * g++.dg/ext/altivec_check.h: Declare exit as extern "C". From-SVN: r85592 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/ext/altivec_check.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c42117a238a..82562f9edeb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-04 Geoffrey Keating + + * g++.dg/ext/altivec_check.h: Declare exit as extern "C". + 2004-08-05 Joseph S. Myers * gcc.c-torture/execute/builtins/abs-2.c, diff --git a/gcc/testsuite/g++.dg/ext/altivec_check.h b/gcc/testsuite/g++.dg/ext/altivec_check.h index 4f12d850207..234af02c4d1 100644 --- a/gcc/testsuite/g++.dg/ext/altivec_check.h +++ b/gcc/testsuite/g++.dg/ext/altivec_check.h @@ -2,7 +2,7 @@ /* Contributed by Ziemowit Laski */ #include -extern void exit(int); +extern "C" void exit(int); void sig_ill_handler (int sig) -- 2.30.2