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 2014-07-22 20:32:24 +00:00
parent f2c8c4c7d8
commit 1dcbe2ad0d

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