summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-30 13:16:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-30 13:16:44 (GMT)
commit26a0c08c0bcf995a69ec76d8061febcc24c650c2 (patch)
tree5c0b46ceadbe2eff89d3297cc3b0b75ce3643b25 /win/tclWinTime.c
parent9e0c4021277674c3182c3082c38a5915d872ae0a (diff)
downloadtcl-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.c4
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. */