diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-30 13:16:44 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-30 13:16:44 (GMT) |
| commit | c1ce97106f2bcbbcad391621a3617e14a7648052 (patch) | |
| tree | 5c0b46ceadbe2eff89d3297cc3b0b75ce3643b25 /unix/tclUnixChan.c | |
| parent | c8212c36e91c536433c5a43b8a66ddb19c20d723 (diff) | |
| download | tcl-c1ce97106f2bcbbcad391621a3617e14a7648052.zip tcl-c1ce97106f2bcbbcad391621a3617e14a7648052.tar.gz tcl-c1ce97106f2bcbbcad391621a3617e14a7648052.tar.bz2 | |
Simplify use of "struct" keyword in many places.
Diffstat (limited to 'unix/tclUnixChan.c')
| -rw-r--r-- | unix/tclUnixChan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index b4b2739..6418f48 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -61,7 +61,7 @@ * This structure describes per-instance state of a file based channel. */ -typedef struct FileState { +typedef struct { Tcl_Channel channel; /* Channel associated with this file. */ int fd; /* File handle. */ int validMask; /* OR'ed combination of TCL_READABLE, @@ -76,7 +76,7 @@ typedef struct FileState { * a platform-independant manner. */ -typedef struct TtyAttrs { +typedef struct { int baud; int parity; int data; |
