From 914922deccf3a5335e076ac32db4c84510566c00 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 29 Jun 2013 20:17:14 +0000 Subject: [PATCH] Make libsupc++'s __cxa_call_terminate() prototype consistent with the definition. Submitted by: dt71@gmx.com MFC after: 3 days --- contrib/libstdc++/libsupc++/unwind-cxx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/libstdc++/libsupc++/unwind-cxx.h b/contrib/libstdc++/libsupc++/unwind-cxx.h index 523c05479dfa..7eb150e059bb 100644 --- a/contrib/libstdc++/libsupc++/unwind-cxx.h +++ b/contrib/libstdc++/libsupc++/unwind-cxx.h @@ -133,7 +133,7 @@ extern "C" void __cxa_bad_typeid (); // throws, and if bad_exception needs to be thrown. Called from the // compiler. extern "C" void __cxa_call_unexpected (void *) __attribute__((noreturn)); -extern "C" void __cxa_call_terminate (void*) __attribute__((noreturn)); +extern "C" void __cxa_call_terminate (_Unwind_Exception*) __attribute__((noreturn)); #ifdef __ARM_EABI_UNWINDER__ // Arm EABI specified routines.