libstdc++: Fix the return type of __cxa_finalize

This should return void according to the Itanium C++ ABI.

2020-05-04  Fangrui Song  <maskray@google.com>

	* libsupc++/cxxabi.h (__cxa_finalize): Fix return type.
This commit is contained in:
Fangrui Song 2020-05-04 23:07:19 +01:00 committed by Jonathan Wakely
parent ae8a08ff59
commit 1405ed4334
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-05-04 Fangrui Song <maskray@google.com>
* libsupc++/cxxabi.h (__cxa_finalize): Fix return type.
2020-05-04 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/faq.xml: Use working link for SGI STL FAQ.

View File

@ -127,7 +127,7 @@ namespace __cxxabiv1
int
__cxa_atexit(void (*)(void*), void*, void*) _GLIBCXX_NOTHROW;
int
void
__cxa_finalize(void*);
// TLS destruction.