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,12 +21,12 @@
#include "libc/calls/termios.internal.h"
#include "libc/sysv/consts/termios.h"
int ioctl$tcgets$nt(int, struct termios *);
int ioctl$sys_tcgets_nt(int, struct termios *);
static int ioctl$tcgets$sysv(int fd, struct termios *tio) {
static int ioctl$sys_tcgets(int fd, struct termios *tio) {
int rc;
union metatermios t;
if ((rc = ioctl$sysv(fd, TCGETS, &t)) != -1) {
if ((rc = sys_ioctl(fd, TCGETS, &t)) != -1) {
termios2linux(tio, &t);
}
return rc;
@ -41,8 +41,8 @@ static int ioctl$tcgets$sysv(int fd, struct termios *tio) {
*/
int ioctl$tcgets(int fd, struct termios *tio) {
if (!IsWindows()) {
return ioctl$tcgets$sysv(fd, tio);
return ioctl$sys_tcgets(fd, tio);
} else {
return ioctl$tcgets$nt(fd, tio);
return ioctl$sys_tcgets_nt(fd, tio);
}
}