diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/include/termios.h | 2 | ||||
-rw-r--r-- | lib/libc/src/tty/attr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/include/termios.h b/lib/libc/include/termios.h index 2eb3aa2..87b1392 100644 --- a/lib/libc/include/termios.h +++ b/lib/libc/include/termios.h @@ -33,6 +33,6 @@ #include <sys/termios.h> int tcgetattr(int fd, struct termios *termios_p); -int tcsetattr(int fd, struct termios *termios_p); +int tcsetattr(int fd, int op, struct termios *termios_p); #endif /* !_TERMIOS_H_ */ diff --git a/lib/libc/src/tty/attr.c b/lib/libc/src/tty/attr.c index 4edbece..3061844 100644 --- a/lib/libc/src/tty/attr.c +++ b/lib/libc/src/tty/attr.c @@ -38,7 +38,7 @@ tcgetattr(int fd, struct termios *termios_p) } int -tcsetattr(int fd, struct termios *termios_p) +tcsetattr(int fd, int op, struct termios *termios_p) { return ioctl(fd, TCSETS, termios_p); } |