mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 03: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
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue