diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-08-30 16:49:48 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-08-30 16:49:48 -0400 |
commit | cab0a8fb8d9a1095de3e4c2227bfc37fae93f781 (patch) | |
tree | 9cfe28dca016585d6e6c30430556c7769f1a406e /src | |
parent | 1ccc804e1345c6e59294f561ac43c3e55ccea1e4 (diff) | |
download | musl-cab0a8fb8d9a1095de3e4c2227bfc37fae93f781.tar.gz musl-cab0a8fb8d9a1095de3e4c2227bfc37fae93f781.tar.bz2 musl-cab0a8fb8d9a1095de3e4c2227bfc37fae93f781.tar.xz musl-cab0a8fb8d9a1095de3e4c2227bfc37fae93f781.zip |
clean up overinclusion in files using TIOCGWINSZ
now that struct winsize is available via sys/ioctl.h once again,
including termios.h is not needed.
Diffstat (limited to 'src')
-rw-r--r-- | src/stdio/__fdopen.c | 1 | ||||
-rw-r--r-- | src/stdio/__stdout_write.c | 1 | ||||
-rw-r--r-- | src/unistd/isatty.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/stdio/__fdopen.c b/src/stdio/__fdopen.c index 616f4f99..116e78e5 100644 --- a/src/stdio/__fdopen.c +++ b/src/stdio/__fdopen.c @@ -1,7 +1,6 @@ #include "stdio_impl.h" #include <stdlib.h> #include <sys/ioctl.h> -#include <termios.h> #include <fcntl.h> #include <errno.h> #include <string.h> diff --git a/src/stdio/__stdout_write.c b/src/stdio/__stdout_write.c index 5b413c79..dd1ec60f 100644 --- a/src/stdio/__stdout_write.c +++ b/src/stdio/__stdout_write.c @@ -1,6 +1,5 @@ #include "stdio_impl.h" #include <sys/ioctl.h> -#include <termios.h> size_t __stdout_write(FILE *f, const unsigned char *buf, size_t len) { diff --git a/src/unistd/isatty.c b/src/unistd/isatty.c index bc220c00..75a9c186 100644 --- a/src/unistd/isatty.c +++ b/src/unistd/isatty.c @@ -1,7 +1,6 @@ #include <unistd.h> #include <errno.h> #include <sys/ioctl.h> -#include <termios.h> #include "syscall.h" int isatty(int fd) |