Revert "[libc++abi] Change __cxa_finalize return type to void"

This reverts commit fde9d33f7, which was not properly reviewed by a
libc++ or libc++abi code owner.
This commit is contained in:
Louis Dionne 2020-03-10 18:11:26 -04:00
parent c0f4408d76
commit 0b017c85ca

View File

@ -138,7 +138,7 @@ __cxa_vec_cctor(void *dest_array, void *src_array, size_t element_count,
// 3.3.5.3 Runtime API
extern _LIBCXXABI_FUNC_VIS int __cxa_atexit(void (*f)(void *), void *p,
void *d);
extern _LIBCXXABI_FUNC_VIS void __cxa_finalize(void *);
extern _LIBCXXABI_FUNC_VIS int __cxa_finalize(void *);
// 3.4 Demangler API
extern _LIBCXXABI_FUNC_VIS char *__cxa_demangle(const char *mangled_name,