summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.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)
commit040753e40a5a86ac36162436f039def7a7238dc9 (patch)
treef12dd6b08f1cd82f307af3dfe425de988643035f /win/tclWinTime.c
parent655c8c52be3b109ab737475210e3cd877921076c (diff)
downloadtcl-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/tclWinTime.c')
-rw-r--r--win/tclWinTime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index daa229d..80e51b6 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -35,7 +35,7 @@ static const int leapDays[] = {
-1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365
};
-typedef struct ThreadSpecificData {
+typedef struct {
char tzName[64]; /* Time zone name */
struct tm tm; /* time information */
} ThreadSpecificData;
@@ -45,7 +45,7 @@ static Tcl_ThreadDataKey dataKey;
* Data for managing high-resolution timers.
*/
-typedef struct TimeInfo {
+typedef struct {
CRITICAL_SECTION cs; /* Mutex guarding this structure. */
int initialized; /* Flag == 1 if this structure is
* initialized. */