aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAnna Tikhonova <anna.tikhonova@intel.com>2012-07-27 09:54:30 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2012-07-27 09:54:30 +0000
commitd580407bc48c38f7611868d7187325e19bc7069d (patch)
tree7a0809b6621b34a67c25c393b883d388ae491856 /gcc
parentea01a538e36a1c0fb4cf271f6ff97ddc11110975 (diff)
downloadgcc-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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/20020201-1.c6
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;