diff options
| -rw-r--r-- | cmd2.c | 1 | ||||
| -rw-r--r-- | defines.h | 2 | ||||
| -rw-r--r-- | follow.c | 2 | ||||
| -rw-r--r-- | list.c | 1 | ||||
| -rw-r--r-- | main.c | 1 | 
5 files changed, 1 insertions, 6 deletions
@@ -26,7 +26,6 @@  #include <errno.h>  #ifdef USE_REGEXP -# include "malloc.h"  # include <regex.h>  #endif @@ -5,8 +5,6 @@  #ifndef _DEFINES_H_  #define _DEFINES_H_ -#include "malloc.h" -  #if !defined(SYS_TIME_H) && !defined(_H_SYS_TIME)  #  include <sys/time.h>  #endif @@ -96,7 +96,7 @@ void set_terminal()      ioctl(0, TIOCGLTC, <csave);      ttyb = ttybsave;      ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO; -    ioctl(tty_read_fd, TIOCSETP, &ttyb); +    ioctl(0, TIOCSETP, &ttyb);      ltc = ltcsave;      ltc.t_suspc = -1;      ioctl(0, TIOCSLTC, <c); @@ -19,7 +19,6 @@  #include <sys/time.h>  #ifdef USE_REGEXP -# include "malloc.h"  # include <regex.h>  #endif @@ -76,7 +76,6 @@ extern int errno;  extern int select();  #ifdef USE_REGEXP -# include "malloc.h"  # include <regex.h>  #endif  | 
