mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Reduce makefile dependencies by 10%
The includes in libc/calls/calls.h have now been refactored so that functions with struct parameters are declared in libc/calls/struct/
This commit is contained in:
parent
4e7ce1538c
commit
adac64a52b
202 changed files with 372 additions and 319 deletions
|
@ -27,7 +27,7 @@
|
|||
privileged int _trylock_debug_4(int *lock, const char *lockname,
|
||||
const char *file, int line, const char *func) {
|
||||
int owner = 0;
|
||||
int me = gettid();
|
||||
int me = _spinlock_gettid();
|
||||
if (_lockcmpxchgp(lock, &owner, me)) {
|
||||
return 0;
|
||||
} else if (owner != me) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue