1 // Copyright 2017 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // This is defined by the C library, but not declared anywhere.
6 extern "C" int __cxa_thread_atexit_impl(void(*dtor)(void*), void* obj,
7                                         void* dso_symbol);
8 
__cxa_thread_atexit(void (* dtor)(void *),void * obj,void * dso_symbol)9 extern "C" int __cxa_thread_atexit(void(*dtor)(void*), void* obj,
10                                    void* dso_symbol) throw()
11 {
12     return __cxa_thread_atexit_impl(dtor, obj, dso_symbol);
13 }
14