summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.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 /win/tclWinConsole.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 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index ab55035..5ce8a2b 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -49,7 +49,7 @@ TCL_DECLARE_MUTEX(consoleMutex)
* threads.
*/
-typedef struct ConsoleThreadInfo {
+typedef struct {
HANDLE thread; /* Handle to reader or writer thread. */
HANDLE readyEvent; /* Manual-reset event to signal _to_ the main
* thread when the worker thread has finished
@@ -112,7 +112,7 @@ typedef struct ConsoleInfo {
/* Data consumed by reader thread. */
} ConsoleInfo;
-typedef struct ThreadSpecificData {
+typedef struct {
/*
* The following pointer refers to the head of the list of consoles that
* are being watched for file events.
@@ -128,7 +128,7 @@ static Tcl_ThreadDataKey dataKey;
* console events are generated.
*/
-typedef struct ConsoleEvent {
+typedef struct {
Tcl_Event header; /* Information that is standard for all
* events. */
ConsoleInfo *infoPtr; /* Pointer to console info structure. Note