From: Franz Sirl Date: Mon, 26 Jun 2000 23:11:54 +0000 (+0000) Subject: 980523-1.c: Add prototype for exit(). X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec611c173f6d46f47efca1529a3ef10a96de7199;p=platform%2Fupstream%2Fgcc.git 980523-1.c: Add prototype for exit(). 2000-06-26 Franz Sirl * gcc.dg/980523-1.c: Add prototype for exit(). * gcc.dg/980827-1.c: Add prototype for exit() and abort(). From-SVN: r34722 --- diff --git a/gcc/testsuite/gcc.dg/980523-1.c b/gcc/testsuite/gcc.dg/980523-1.c index 6265a73..71f416e 100644 --- a/gcc/testsuite/gcc.dg/980523-1.c +++ b/gcc/testsuite/gcc.dg/980523-1.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/980827-1.c b/gcc/testsuite/gcc.dg/980827-1.c index 0de02cc..84ba5ee 100644 --- a/gcc/testsuite/gcc.dg/980827-1.c +++ b/gcc/testsuite/gcc.dg/980827-1.c @@ -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);