master
 1/**
 2 * This file has no copyright assigned and is placed in the Public Domain.
 3 * This file is part of the mingw-w64 runtime package.
 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 5 */
 6
 7typedef void (__thiscall * dtor_fn)(void*);
 8int __cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso);
 9int __mingw_cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso);
10
11int __cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso) {
12  return __mingw_cxa_thread_atexit(dtor, obj, dso);
13}