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
This commit is contained in:
Kai Tietz 2011-03-28 12:00:42 +02:00 committed by Kai Tietz
parent 8ad150f6cc
commit 2438d7a61f
2 changed files with 10 additions and 0 deletions

View 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

View 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,