]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
val-prof-7.c: Declare bzero instead of including <strings.h>.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 20 Oct 2011 13:03:56 +0000 (14:03 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 20 Oct 2011 13:03:56 +0000 (14:03 +0100)
* gcc.dg/tree-prof/val-prof-7.c: Declare bzero instead of
including <strings.h>.

From-SVN: r180251

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c

index 87d499ff7784da164a53491cbd25e263293720da..79dc8a7322d8eb34709015c99762ec6e07de9438 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc.dg/tree-prof/val-prof-7.c: Declare bzero instead of
+       including <strings.h>.
+
 2011-10-19  Jan Hubicka  <jh@suse.cz>
 
        * lib/lto.exp (lto_init): Test slib lto and no-liker-plugin path.
index 5f5326384458042b8a6f47185d0ec1dc1aa560d3..6c64d0795a37bb405c3a67158de0105840e86c26 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-options "-O2 -fdump-ipa-profile -mtune=core2" } */
 /* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
 
-#include <strings.h>
+extern void bzero (void *, __SIZE_TYPE__);
 
 int foo(int len)
 {