This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix Ada build on HP-UX
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 Jul 2009 14:16:14 -0400 (EDT)
- Subject: [committed] Fix Ada build on HP-UX
Committed as obvious. Build checked on hppa2.0w-hpux11.11.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR ada/40609
init.c (__gnat_error_handler): Add ATTRIBUTE_UNUSED to ucontext
argument.
Index: init.c
===================================================================
--- init.c (revision 149145)
+++ init.c (working copy)
@@ -441,7 +441,9 @@
static void
__gnat_error_handler
- (int sig, siginfo_t *siginfo ATTRIBUTE_UNUSED, void *ucontext)
+ (int sig,
+ siginfo_t *siginfo ATTRIBUTE_UNUSED,
+ void *ucontext ATTRIBUTE_UNUSED)
{
struct Exception_Data *exception;
const char *msg;