aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
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/testsuite/gcc.dg
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/testsuite/gcc.dg')
-rw-r--r--gcc/testsuite/gcc.dg/20020201-1.c6
1 files changed, 1 insertions, 5 deletions
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;