summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-20 06:49:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-20 06:49:25 (GMT)
commit9aa711e8e0c11bcdda23542d82c44a773e07251c (patch)
treef12dd6b08f1cd82f307af3dfe425de988643035f /win/tclWinSock.c
parenta074f8f61ac516e2cb03222eb9f9a2dc82fb6c8a (diff)
downloadtcl-9aa711e8e0c11bcdda23542d82c44a773e07251c.zip
tcl-9aa711e8e0c11bcdda23542d82c44a773e07251c.tar.gz
tcl-9aa711e8e0c11bcdda23542d82c44a773e07251c.tar.bz2
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 9f7caee..62b2f7f 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -163,7 +163,7 @@ struct SocketInfo {
* socket event occurs.
*/
-typedef struct SocketEvent {
+typedef struct {
Tcl_Event header; /* Information that is standard for all
* events. */
SOCKET socket; /* Socket descriptor that is ready. Used to
@@ -191,7 +191,7 @@ typedef struct SocketEvent {
#define SOCKET_PENDING (1<<3) /* A message has been sent for this
* socket */
-typedef struct ThreadSpecificData {
+typedef struct {
HWND hwnd; /* Handle to window for socket messages. */
HANDLE socketThread; /* Thread handling the window */
Tcl_ThreadId threadId; /* Parent thread. */