Commit 882e35a6 by John David Anglin Committed by John David Anglin

re PR ada/40609 (Ada build fails)

	PR ada/40609
	init.c (__gnat_error_handler): Add ATTRIBUTE_UNUSED to ucontext
	argument.

From-SVN: r149146
parent 33d1a550
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.
2009-07-01 Eric Botcazou <ebotcazou@adacore.com>
* init.c (__gnat_error_handler, Solaris): Add ATTRIBUTE_UNUSED marker.
......
......@@ -441,7 +441,9 @@ __gnat_error_handler (int sig, siginfo_t *siginfo, void *ucontext);
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment