mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Make some quick fixes and cleanup
This commit is contained in:
parent
fa5c2a24b5
commit
61257d48d4
63 changed files with 275 additions and 257 deletions
|
@ -21,7 +21,7 @@ hidden extern struct StdioFlush __fflush;
|
|||
void __fflush_lock(void);
|
||||
void __fflush_unlock(void);
|
||||
|
||||
#if defined(__GNUC__) && !defined(__llvm__) && !defined(__STRICT_ANSI__)
|
||||
#ifdef _NOPL0
|
||||
#define __fflush_lock() _NOPL0("__threadcalls", __fflush_lock)
|
||||
#define __fflush_unlock() _NOPL0("__threadcalls", __fflush_unlock)
|
||||
#else
|
||||
|
|
|
@ -173,7 +173,7 @@ int vfprintf_unlocked(FILE *, const char *, va_list)
|
|||
#define putc_unlocked(c, f) fputc_unlocked(c, f)
|
||||
#define putwc_unlocked(c, f) fputwc_unlocked(c, f)
|
||||
|
||||
#if defined(__GNUC__) && !defined(__llvm__) && !defined(__STRICT_ANSI__)
|
||||
#ifdef _NOPL1
|
||||
#define flockfile(f) _NOPL1("__threadcalls", flockfile, f)
|
||||
#define funlockfile(f) _NOPL1("__threadcalls", funlockfile, f)
|
||||
#define ftrylockfile(f) _NOPL1("__threadcalls", ftrylockfile, f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue