diff options
author | Anna Tikhonova <anna.tikhonova@intel.com> | 2012-07-27 09:54:30 +0000 |
---|---|---|
committer | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2012-07-27 09:54:30 +0000 |
commit | d580407bc48c38f7611868d7187325e19bc7069d (patch) | |
tree | 7a0809b6621b34a67c25c393b883d388ae491856 | |
parent | ea01a538e36a1c0fb4cf271f6ff97ddc11110975 (diff) | |
download | gcc-d580407bc48c38f7611868d7187325e19bc7069d.zip gcc-d580407bc48c38f7611868d7187325e19bc7069d.tar.gz gcc-d580407bc48c38f7611868d7187325e19bc7069d.tar.bz2 |
20020201-1.c: Remove declarations for exit, abort, rand, srand.
* gcc.dg/20020201-1.c: Remove declarations for exit, abort,
rand, srand. Include <stdlib.h>.
From-SVN: r189905
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20020201-1.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6236cc0..cd0a358 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-07-27 Anna Tikhonova <anna.tikhonova@intel.com> + + * gcc.dg/20020201-1.c: Remove declarations for exit, abort, + rand, srand. Include <stdlib.h>. + 2012-07-26 Janis Johnson <janisjo@codesourcery.com> * 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 6002c59..1cb2a87 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 <stdlib.h> int globvar; |