summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-30 13:16:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-30 13:16:44 (GMT)
commit26a0c08c0bcf995a69ec76d8061febcc24c650c2 (patch)
tree5c0b46ceadbe2eff89d3297cc3b0b75ce3643b25 /unix/tclUnixChan.c
parent9e0c4021277674c3182c3082c38a5915d872ae0a (diff)
downloadtcl-26a0c08c0bcf995a69ec76d8061febcc24c650c2.zip
tcl-26a0c08c0bcf995a69ec76d8061febcc24c650c2.tar.gz
tcl-26a0c08c0bcf995a69ec76d8061febcc24c650c2.tar.bz2
Simplify use of "struct" keyword in many places.
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c4
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;