summaryrefslogtreecommitdiff
path: root/libstdc++-v3/libsupc++
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-05-04 23:07:19 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-05-04 23:07:19 +0100
commit1405ed433443c7df22364ef8c6574bbf9b10b61a (patch)
tree9b138a5920b667dbef2b95181ae3dc20f08405d7 /libstdc++-v3/libsupc++
parentae8a08ff59d28b17489d5c454bc07bfb70f0dff9 (diff)
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.
Diffstat (limited to 'libstdc++-v3/libsupc++')
-rw-r--r--libstdc++-v3/libsupc++/cxxabi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/libsupc++/cxxabi.h b/libstdc++-v3/libsupc++/cxxabi.h
index 50298205daa..000713ecdf8 100644
--- a/libstdc++-v3/libsupc++/cxxabi.h
+++ b/libstdc++-v3/libsupc++/cxxabi.h
@@ -127,7 +127,7 @@ namespace __cxxabiv1
int
__cxa_atexit(void (*)(void*), void*, void*) _GLIBCXX_NOTHROW;
- int
+ void
__cxa_finalize(void*);
// TLS destruction.