OSDN Git Service

* init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Sep 2009 13:35:13 +0000 (13:35 +0000)
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Sep 2009 13:35:13 +0000 (13:35 +0000)
        and uc arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151329 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/init.c

index aab6b98..21dd495 100644 (file)
@@ -1,5 +1,10 @@
 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
        Signed_Integer_Type_Definition Scalar_Ranges.
 
index ffea0e6..dff21ef 100644 (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;