Testglue patch needed to test recent gcc versions
Daniel Jacobowitz
drow@false.org
Thu Aug 19 21:14:00 GMT 2004
GCC now warns about missing prototypes for builtin functions it knows about.
This broke both the GDB testsuite [being fixed], and the GCC testsuite,
because testglue.c no longer compiles without warnings. This patch silences
the warnings.
--
Daniel Jacobowitz
2004-08-19 Daniel Jacobowitz <dan@debian.org>
* testglue.c: Prototype abort and exit.
--- testglue.c.orig 2004-08-19 16:09:19.000000000 -0400
+++ testglue.c 2004-08-19 16:10:36.000000000 -0400
@@ -40,6 +40,10 @@
#define ORIG_ABORT __wrap_abort
#define ORIG_MAIN __wrap_main
#endif
+
+extern void abort (void);
+extern void exit (int);
+
#endif
#ifdef REAL_MAIN
More information about the Gcc
mailing list