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 /generic | |
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 'generic')
-rw-r--r-- | generic/tclStringRep.h | 2 | ||||
-rw-r--r-- | generic/tclTimer.c | 2 | ||||
-rw-r--r-- | generic/tclTrace.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclStringRep.h b/generic/tclStringRep.h index 227e6bc..db6f7e4 100644 --- a/generic/tclStringRep.h +++ b/generic/tclStringRep.h @@ -46,7 +46,7 @@ * tcl.h, but do not do that unless you are sure what you're doing! */ -typedef struct String { +typedef struct { int numChars; /* The number of chars in the string. -1 means * this value has not been calculated. >= 0 * means that there is a valid Unicode rep, or diff --git a/generic/tclTimer.c b/generic/tclTimer.c index c10986a..c83b5f5 100644 --- a/generic/tclTimer.c +++ b/generic/tclTimer.c @@ -91,7 +91,7 @@ typedef struct IdleHandler { * The structure defined below is used in this file only. */ -typedef struct ThreadSpecificData { +typedef struct { TimerHandler *firstTimerHandlerPtr; /* First event in queue. */ int lastTimerId; /* Timer identifier of most recently created * timer. */ diff --git a/generic/tclTrace.c b/generic/tclTrace.c index 4e74c54..33e62b2 100644 --- a/generic/tclTrace.c +++ b/generic/tclTrace.c @@ -143,7 +143,7 @@ static int TraceVarEx(Tcl_Interp *interp, const char *part1, * trace procs */ -typedef struct StringTraceData { +typedef struct { ClientData clientData; /* Client data from Tcl_CreateTrace */ Tcl_CmdTraceProc *proc; /* Trace function from Tcl_CreateTrace */ } StringTraceData; |