mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
libc: Fix __cxa_thread_atexit prototype (#1088)
The first parameter should be a function pointer. Otherwise, this would conflict with the definition provided by `libcxxabi`.
This commit is contained in:
parent
83a8686c06
commit
33418f6742
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ namespace __cxxabiv1 {
|
|||
|
||||
char *__cxa_demangle(const char *, char *, size_t *, int *);
|
||||
int __cxa_atexit(void (*)(void *), void *, void *) paramsnonnull((1)) dontthrow;
|
||||
int __cxa_thread_atexit(void *, void *, void *) dontthrow;
|
||||
int __cxa_thread_atexit(void (*)(void *), void *, void *) dontthrow;
|
||||
void __cxa_finalize(void *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in a new issue