From: Anna Tikhonova Date: Fri, 27 Jul 2012 09:54:30 +0000 (+0000) Subject: 20020201-1.c: Remove declarations for exit, abort, rand, srand. X-Git-Tag: upstream/12.2.0~75049 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d580407bc48c38f7611868d7187325e19bc7069d;p=platform%2Fupstream%2Fgcc.git 20020201-1.c: Remove declarations for exit, abort, rand, srand. * gcc.dg/20020201-1.c: Remove declarations for exit, abort, rand, srand. Include . From-SVN: r189905 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6236cc03ee5..cd0a3583812 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-07-27 Anna Tikhonova + + * gcc.dg/20020201-1.c: Remove declarations for exit, abort, + rand, srand. Include . + 2012-07-26 Janis Johnson * gcc.dg/pr45259.c: Only -fpic depends on fpic support. diff --git a/gcc/testsuite/gcc.dg/20020201-1.c b/gcc/testsuite/gcc.dg/20020201-1.c index 6002c59819f..1cb2a878804 100644 --- a/gcc/testsuite/gcc.dg/20020201-1.c +++ b/gcc/testsuite/gcc.dg/20020201-1.c @@ -7,11 +7,7 @@ /* { dg-options "-fprofile-arcs" } */ /* { dg-do run { target native } } */ -extern void abort (void); -extern void exit (int); - -int rand (void); -void srand (unsigned int seed); +#include int globvar;