diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-30 13:16:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-30 13:16:44 (GMT) |
commit | 26a0c08c0bcf995a69ec76d8061febcc24c650c2 (patch) | |
tree | 5c0b46ceadbe2eff89d3297cc3b0b75ce3643b25 /win/tclWinTime.c | |
parent | 9e0c4021277674c3182c3082c38a5915d872ae0a (diff) | |
download | tcl-26a0c08c0bcf995a69ec76d8061febcc24c650c2.zip tcl-26a0c08c0bcf995a69ec76d8061febcc24c650c2.tar.gz tcl-26a0c08c0bcf995a69ec76d8061febcc24c650c2.tar.bz2 |
Simplify use of "struct" keyword in many places.
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r-- | win/tclWinTime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c index 7045c72..7b5c18a 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. */ |