aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/raise-gcc.c
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2011-03-28 12:00:42 +0200
committerKai Tietz <ktietz@gcc.gnu.org>2011-03-28 12:00:42 +0200
commit2438d7a61fd4ac2cbc115c1918c8ed0389ce6868 (patch)
treecfce81021fb373078b716d35533898286e7831e9 /gcc/ada/raise-gcc.c
parent8ad150f6cc733273ae838ebd77a1b9d6ed2985d1 (diff)
downloadgcc-2438d7a61fd4ac2cbc115c1918c8ed0389ce6868.zip
gcc-2438d7a61fd4ac2cbc115c1918c8ed0389ce6868.tar.gz
gcc-2438d7a61fd4ac2cbc115c1918c8ed0389ce6868.tar.bz2
raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to prevent warning.
2011-03-28 Kai Tietz <ktietz@redhat.com> * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to prevent warning. From-SVN: r171594
Diffstat (limited to 'gcc/ada/raise-gcc.c')
-rw-r--r--gcc/ada/raise-gcc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c
index 9c6aef9..3a88727 100644
--- a/gcc/ada/raise-gcc.c
+++ b/gcc/ada/raise-gcc.c
@@ -1065,6 +1065,11 @@ 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,
_Unwind_Exception_Class uw_exception_class,