diff options
author | jenglish <jenglish@flightlab.com> | 2008-02-28 20:14:06 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2008-02-28 20:14:06 (GMT) |
commit | e3731492820cee09a934e7a1305b79b6988b7450 (patch) | |
tree | c4223d0df8163c3ddaa0f6453bcd43e56995d01b /unix/tclUnixChan.c | |
parent | 6e9187684c687eab654ee37f1d4a9aa9caff97a2 (diff) | |
download | tcl-e3731492820cee09a934e7a1305b79b6988b7450.zip tcl-e3731492820cee09a934e7a1305b79b6988b7450.tar.gz tcl-e3731492820cee09a934e7a1305b79b6988b7450.tar.bz2 |
Reduce scope of <sys/filio.h> and <sys/ioctl.h> #includes.
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r-- | unix/tclUnixChan.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index 3e1c72d..96a4665 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -10,38 +10,12 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixChan.c,v 1.91 2008/02/28 20:12:09 jenglish Exp $ + * RCS: @(#) $Id: tclUnixChan.c,v 1.92 2008/02/28 20:14:12 jenglish Exp $ */ #include "tclInt.h" /* Internal definitions for Tcl. */ #include "tclIO.h" /* To get Channel type declaration. */ -/* - * sys/ioctl.h has already been included by tclPort.h. Including termios.h or - * termio.h causes a bunch of warning messages because some duplicate (but not - * contradictory) #defines exist in termios.h and/or termio.h - */ - -#undef NL0 -#undef NL1 -#undef CR0 -#undef CR1 -#undef CR2 -#undef CR3 -#undef TAB0 -#undef TAB1 -#undef TAB2 -#undef XTABS -#undef BS0 -#undef BS1 -#undef FF0 -#undef FF1 -#undef ECHO -#undef NOFLSH -#undef TOSTOP -#undef FLUSHO -#undef PENDIN - #define SUPPORTS_TTY #undef DIRECT_BAUD |