* g++.dg/ext/altivec_check.h: Declare exit as extern "C".
authorGeoffrey Keating <geoffk@apple.com>
Thu, 5 Aug 2004 05:31:30 +0000 (05:31 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 5 Aug 2004 05:31:30 +0000 (05:31 +0000)
From-SVN: r85592

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/altivec_check.h

index c42117a238a4f3da210f156cbd8a38933a28a04a..82562f9edeb00663fc5e9526f5393b931cfc0e2d 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-04  Geoffrey Keating  <geoffk@apple.com>
+
+       * g++.dg/ext/altivec_check.h: Declare exit as extern "C".
+
 2004-08-05  Joseph S. Myers  <jsm@polyomino.org.uk>
 
        * gcc.c-torture/execute/builtins/abs-2.c,
index 4f12d850207008472be95b78515989e79d5f6d1a..234af02c4d104cd84a4533a6e29b038fd253ee19 100644 (file)
@@ -2,7 +2,7 @@
 /* Contributed by Ziemowit Laski  <zlaski@apple.com>  */
 
 #include <signal.h>
-extern void exit(int);
+extern "C" void exit(int);
 
 void 
 sig_ill_handler (int sig)