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

@@ -21,7 +21,7 @@
#include "libc/dce.h"
#include "libc/sysv/consts/termios.h"
int ioctl$tiocgwinsz$nt(int, struct winsize *);
int ioctl$sys_tiocgwinsz_nt(int, struct winsize *);
/**
* Returns width and height of terminal.
@@ -30,8 +30,8 @@ int ioctl$tiocgwinsz$nt(int, struct winsize *);
*/
int ioctl$tiocgwinsz(int fd, struct winsize *ws) {
if (!IsWindows()) {
return ioctl$sysv(fd, TIOCGWINSZ, ws);
return sys_ioctl(fd, TIOCGWINSZ, ws);
} else {
return ioctl$tiocgwinsz$nt(fd, ws);
return ioctl$sys_tiocgwinsz_nt(fd, ws);
}
}