summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.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)
commit9aa711e8e0c11bcdda23542d82c44a773e07251c (patch)
treef12dd6b08f1cd82f307af3dfe425de988643035f /generic/tclClock.c
parenta074f8f61ac516e2cb03222eb9f9a2dc82fb6c8a (diff)
downloadtcl-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 'generic/tclClock.c')
-rw-r--r--generic/tclClock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index 6d2976d..1257231 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -91,7 +91,7 @@ static const char *const literals[] = {
* Structure containing the client data for [clock]
*/
-typedef struct ClockClientData {
+typedef struct {
int refCount; /* Number of live references. */
Tcl_Obj **literals; /* Pool of object literals. */
} ClockClientData;
@@ -100,7 +100,7 @@ typedef struct ClockClientData {
* Structure containing the fields used in [clock format] and [clock scan]
*/
-typedef struct TclDateFields {
+typedef struct {
Tcl_WideInt seconds; /* Time expressed in seconds from the Posix
* epoch */
Tcl_WideInt localSeconds; /* Local time expressed in nominal seconds