This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed] Add missing prototype to testsuite/gcc.dg/bf-ms-attrib.c
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 30 Oct 2004 20:23:50 +1300
- Subject: [Committed] Add missing prototype to testsuite/gcc.dg/bf-ms-attrib.c
- Reply-to: Danny Smith <dannysmith at users dot sourceforge dot net>
I have committed the following as obvious to prevent spurious testcase
failure caused by missing abort() prototype.
2004-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/bf-ms-attrib.c: Add protototype for abort.
Remove unnecessary inclusion of stdio.h.
Index: gcc.dg/bf-ms-attrib.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/bf-ms-attrib.c,v
retrieving revision 1.2
diff -u -r1.2 bf-ms-attrib.c
--- gcc.dg/bf-ms-attrib.c 10 Jan 2003 23:56:06 -0000 1.2
+++ gcc.dg/bf-ms-attrib.c 30 Oct 2004 07:21:11 -0000
@@ -9,7 +9,7 @@
testing nonstandard stuff to begin with. */
/* { dg-options "-ansi" } */
-#include <stdio.h>
+extern void abort(void);
struct one_gcc {
int d;