summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-07-11 14:10:37 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-07-11 14:10:37 +0000
commitfaa0cf341ce45bdbcd17b9efbdb8175f8cb29a76 (patch)
tree8e9b689652982bc5e4e29a43bbc1ed2ad53cb276 /gnu
parentff9bae2625d92ae49d6395605b959c795f12822b (diff)
make the __cxa_call_terminate() proto match the definition
From dt71 at gmx.com via FreeBSD Required to build with recent versions of clang.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h b/gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h
index c5636556434..f69f84df0ea 100644
--- a/gnu/gcc/libstdc++-v3/libsupc++/unwind-cxx.h
+++ b/gnu/gcc/libstdc++-v3/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.