This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] Add missing prototype to testsuite/gcc.dg/bf-ms-attrib.c


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]