diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2006-03-24 23:49:52 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2006-03-24 23:49:52 (GMT) |
commit | b701a3f0c09813168a8200351e7cd62a8d5972e1 (patch) | |
tree | 355d87d3fb954f925286e5e8c1d00989480ea65e | |
parent | ee3a23474cb86135c64f72d519f5dcf1b938bb84 (diff) | |
download | powwow-b701a3f0c09813168a8200351e7cd62a8d5972e1.zip powwow-b701a3f0c09813168a8200351e7cd62a8d5972e1.tar.gz powwow-b701a3f0c09813168a8200351e7cd62a8d5972e1.tar.bz2 |
Removed malloc.h since it's obsolete, fixed follow.c to not use tty_read_fd
since it looks like a copy-paste job that didn't get fixed and causes
brokenness on bsd
-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 |