From 2438d7a61fd4ac2cbc115c1918c8ed0389ce6868 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Mon, 28 Mar 2011 12:00:42 +0200 Subject: [PATCH] raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to prevent warning. 2011-03-28 Kai Tietz * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to prevent warning. From-SVN: r171594 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/raise-gcc.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 90633da2b9d..8a489e074ce 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2011-03-28 Kai Tietz + + * raise-gcc.c (PERSONALITY_FUNCTION): Add prototype to + prevent warning. + 2011-03-28 Tristan Gingold PR ada/44431 diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c index 9c6aef930a9..3a887270b9d 100644 --- a/gcc/ada/raise-gcc.c +++ b/gcc/ada/raise-gcc.c @@ -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,