]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
20020201-1.c: Remove declarations for exit, abort, rand, srand.
authorAnna Tikhonova <anna.m.tikhonova@gmail.com>
Mon, 6 Aug 2012 07:11:07 +0000 (07:11 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Mon, 6 Aug 2012 07:11:07 +0000 (07:11 +0000)
        * gcc.dg/20020201-1.c: Remove declarations for exit, abort,
        rand, srand. Include <stdlib.h>.

From-SVN: r190155

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20020201-1.c

index 6d556612821bbe26ced723dfa9aa9ce7af1e3644..960c35146418c8b6b9c6451a1f8dad459da16e9e 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-06  Anna Tikhonova  <anna.m.tikhonova@gmail.com>
+
+       * gcc.dg/20020201-1.c: Remove declarations for exit, abort,
+       rand, srand. Include <stdlib.h>.
+
 2012-07-16  Steven Bosscher  <steven@gcc.gnu.org>
 
        Backport from trunk:
index 6002c59819fb7b17edfc94f71f66bc1a329a4e14..1cb2a878804415e8051bd1d7e855b8edba8e4523 100644 (file)
@@ -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;