init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si and uc arguments.

* init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si
        and uc arguments.

From-SVN: r151329
This commit is contained in:
Olivier Hainque 2009-09-02 13:35:13 +00:00 committed by Olivier Hainque
parent 3f0a1331fd
commit 35e46cd8b8
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-02 Olivier Hainque <hainque@adacore.com>
* init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si
and uc arguments.
2009-09-02 Olivier Hainque <hainque@adacore.com>
* gcc-interface/decl.c (cannot_be_superflat_p): Handle

View File

@ -217,7 +217,9 @@ nanosleep (struct timestruc_t *Rqtp, struct timestruc_t *Rmtp)
static void __gnat_error_handler (int sig, siginfo_t * si, void * uc);
static void
__gnat_error_handler (int sig, siginfo_t * si, void * uc)
__gnat_error_handler (int sig,
siginfo_t * si ATTRIBUTE_UNUSED,
void * uc ATTRIBUTE_UNUSED)
{
struct Exception_Data *exception;
const char *msg;