mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Get rid of .internal.h convention in LIBC_INTRIN
This commit is contained in:
parent
0ed916ad5c
commit
86d884cce2
591 changed files with 773 additions and 773 deletions
28
libc/intrin/cxaatexit.h
Normal file
28
libc/intrin/cxaatexit.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_RUNTIME_CXAATEXIT_H_
|
||||
#define COSMOPOLITAN_LIBC_RUNTIME_CXAATEXIT_H_
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/thread/tls.h"
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct CxaAtexitBlocks {
|
||||
struct CxaAtexitBlock {
|
||||
unsigned mask;
|
||||
struct CxaAtexitBlock *next;
|
||||
struct CxaAtexit {
|
||||
void *fp;
|
||||
void *arg;
|
||||
void *pred;
|
||||
} p[32];
|
||||
} *p, root;
|
||||
};
|
||||
|
||||
extern struct CxaAtexitBlocks __cxa_blocks;
|
||||
|
||||
void __cxa_lock(void) libcesque;
|
||||
void __cxa_unlock(void) libcesque;
|
||||
void __cxa_thread_finalize(void) libcesque;
|
||||
void __cxa_printexits(FILE *, void *) libcesque;
|
||||
int __cxa_thread_atexit_impl(void *, void *, void *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* COSMOPOLITAN_LIBC_RUNTIME_CXAATEXIT_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue