980523-1.c: Add prototype for exit().
authorFranz Sirl <sirl@gcc.gnu.org>
Mon, 26 Jun 2000 23:11:54 +0000 (23:11 +0000)
committerFranz Sirl <sirl@gcc.gnu.org>
Mon, 26 Jun 2000 23:11:54 +0000 (23:11 +0000)
2000-06-26  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/980523-1.c: Add prototype for exit().
* gcc.dg/980827-1.c: Add prototype for exit() and abort().

From-SVN: r34722

gcc/testsuite/gcc.dg/980523-1.c
gcc/testsuite/gcc.dg/980827-1.c

index 6265a73..71f416e 100644 (file)
@@ -1,6 +1,8 @@
 /* { dg-do run { target rs6000-*-linux* powerpc-*-linux*} } */
 /* { dg-options "-O2 -fpic" } */
 
+extern void exit (int);
+
 void foo1(int a, char *b, int c)
 {
    c =a+c+234;
index 0de02cc..84ba5ee 100644 (file)
@@ -1,6 +1,9 @@
 /* { dg-do run { target rs6000-*-linux* powerpc-*-linux*} } */
 /* { dg-options -O2 } */
 
+extern void exit (int);
+extern void abort (void);
+
 double dval = 0;
 
 void splat (double d);