mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Remove dollars from system call support symbols
This commit is contained in:
parent
a8d7195777
commit
a37960a3af
743 changed files with 1380 additions and 2016 deletions
|
@ -28,7 +28,7 @@ static int __pid;
|
|||
|
||||
static int __getpid(void) {
|
||||
if (!IsWindows()) {
|
||||
return getpid$sysv();
|
||||
return sys_getpid();
|
||||
} else {
|
||||
return GetCurrentProcessId();
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ static void __updatepid(void) {
|
|||
int getpid(void) {
|
||||
static bool once;
|
||||
if (__vforked) {
|
||||
return getpid$sysv();
|
||||
return sys_getpid();
|
||||
}
|
||||
if (!once) {
|
||||
__updatepid();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue