diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-20 06:49:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-20 06:49:25 (GMT) |
commit | 040753e40a5a86ac36162436f039def7a7238dc9 (patch) | |
tree | f12dd6b08f1cd82f307af3dfe425de988643035f /win/tclWinConsole.c | |
parent | 655c8c52be3b109ab737475210e3cd877921076c (diff) | |
download | tcl-040753e40a5a86ac36162436f039def7a7238dc9.zip tcl-040753e40a5a86ac36162436f039def7a7238dc9.tar.gz tcl-040753e40a5a86ac36162436f039def7a7238dc9.tar.bz2 |
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler.
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r-- | win/tclWinConsole.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c index 5aab255..094a5e9 100644 --- a/win/tclWinConsole.c +++ b/win/tclWinConsole.c @@ -50,7 +50,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 @@ -113,7 +113,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. @@ -129,7 +129,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 |