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.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <termios.h>
|
||||
#include "syscall.h"
|
||||
|
||||
int isatty(int fd)
|
||||
|
||||
Reference in New Issue
Block a user