Fix EABI unwind function declarations to match the function definitions.

The mismatch was noticed by clang, when using it to compile the in-tree
gcc and libstdc++.
This commit is contained in:
Ian Lepore 2014-07-22 20:32:24 +00:00
parent 4099894921
commit 1f6f6cd7e2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268993

View File

@ -142,9 +142,9 @@ typedef enum {
ctm_succeeded = 1,
ctm_succeeded_with_ptr_to_base = 2
} __cxa_type_match_result;
extern "C" bool __cxa_type_match(_Unwind_Exception*, const std::type_info*,
extern "C" __cxa_type_match_result __cxa_type_match(_Unwind_Exception*, const std::type_info*,
bool, void**);
extern "C" void __cxa_begin_cleanup (_Unwind_Exception*);
extern "C" bool __cxa_begin_cleanup (_Unwind_Exception*);
extern "C" void __cxa_end_cleanup (void);
#endif