Remove dollars from system call support symbols

This commit is contained in:
Justine Tunney 2021-02-03 19:35:29 -08:00
parent a8d7195777
commit a37960a3af
743 changed files with 1380 additions and 2016 deletions

View file

@ -28,7 +28,7 @@
#include "libc/nt/thread.h"
#include "libc/str/str.h"
static textwindows noinline int sched_setaffinity$nt(int pid,
static textwindows noinline int sys_sched_setaffinity_nt(int pid,
uint64_t bitsetsize,
const void *bitset) {
int rc;
@ -69,8 +69,8 @@ static textwindows noinline int sched_setaffinity$nt(int pid,
*/
int sched_setaffinity(int pid, uint64_t bitsetsize, const void *bitset) {
if (!IsWindows()) {
return sched_setaffinity$sysv(pid, bitsetsize, bitset);
return sys_sched_setaffinity(pid, bitsetsize, bitset);
} else {
return sched_setaffinity$nt(pid, bitsetsize, bitset);
return sys_sched_setaffinity_nt(pid, bitsetsize, bitset);
}
}