mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Remove leaf attribute where appropriate
This change fixes a bug where gcc assumed thread synchronization such as pthread_cond_wait() wouldn't alter static variables, because the headers were using __attribute__((__leaf__)) inappropriately.
This commit is contained in:
parent
f24c854b28
commit
fde03f8487
9 changed files with 106 additions and 61 deletions
|
@ -9,7 +9,7 @@ COSMOPOLITAN_C_START_
|
|||
#define _COSMO_ATOMIC(x) x
|
||||
#endif
|
||||
|
||||
errno_t cosmo_once(_COSMO_ATOMIC(unsigned) *, void (*)(void)) libcesque;
|
||||
errno_t cosmo_once(_COSMO_ATOMIC(unsigned) *, void (*)(void));
|
||||
int systemvpe(const char *, char *const[], char *const[]) libcesque;
|
||||
char *GetProgramExecutableName(void) libcesque;
|
||||
void unleaf(void) libcesque;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue