diff options
author | dim <dim@FreeBSD.org> | 2013-06-29 20:17:14 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-06-29 20:17:14 +0000 |
commit | 3a90caa91b384b2d8b04ea885069a56d51ad872a (patch) | |
tree | 45be11c8659a10dd0c19d94579d6a2c8eaffc90b | |
parent | 3764c06cce8e6850a99963792d57f39f931683f0 (diff) | |
download | FreeBSD-src-3a90caa91b384b2d8b04ea885069a56d51ad872a.zip FreeBSD-src-3a90caa91b384b2d8b04ea885069a56d51ad872a.tar.gz |
Make libsupc++'s __cxa_call_terminate() prototype consistent with the
definition.
Submitted by: dt71@gmx.com
MFC after: 3 days
-rw-r--r-- | contrib/libstdc++/libsupc++/unwind-cxx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libstdc++/libsupc++/unwind-cxx.h b/contrib/libstdc++/libsupc++/unwind-cxx.h index 523c054..7eb150e 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. |