[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Testglue patch needed to test recent gcc versions
From: |
Daniel Jacobowitz |
Subject: |
Testglue patch needed to test recent gcc versions |
Date: |
Thu, 19 Aug 2004 16:14:23 -0400 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
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 <address@hidden>
* 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
- Testglue patch needed to test recent gcc versions,
Daniel Jacobowitz <=