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 | 9aa711e8e0c11bcdda23542d82c44a773e07251c (patch) | |
| tree | f12dd6b08f1cd82f307af3dfe425de988643035f /win/tclWinSock.c | |
| parent | a074f8f61ac516e2cb03222eb9f9a2dc82fb6c8a (diff) | |
| download | tcl-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.c | 4 |
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. */ |
