raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to prevent warning.
authorKai Tietz <ktietz@redhat.com>
Mon, 28 Mar 2011 10:00:42 +0000 (12:00 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Mon, 28 Mar 2011 10:00:42 +0000 (12:00 +0200)
2011-03-28  Kai Tietz  <ktietz@redhat.com>

* raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to
prevent warning.

From-SVN: r171594

gcc/ada/ChangeLog
gcc/ada/raise-gcc.c

index 90633da2b9dadfd9796d3e07714ecb3e411129e5..8a489e074ce275b9a58e50cfad5bab6c5693abee 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-28  Kai Tietz  <ktietz@redhat.com>
+
+       * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to
+       prevent warning.
+
 2011-03-28  Tristan Gingold  <gingold@adacore.com>
 
        PR ada/44431
index 9c6aef930a9479ab806d92c66568abe39cc2b4de..3a887270b9df6ef1a5b0851002c2737d43af16c4 100644 (file)
@@ -1064,6 +1064,11 @@ typedef int version_arg_t;
 typedef _Unwind_Action phases_arg_t;
 #endif
 
+_Unwind_Reason_Code
+PERSONALITY_FUNCTION (version_arg_t, phases_arg_t,
+                      _Unwind_Exception_Class, _Unwind_Exception *,
+                      _Unwind_Context *);
+
 _Unwind_Reason_Code
 PERSONALITY_FUNCTION (version_arg_t version_arg,
                       phases_arg_t phases_arg,