summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-21 10:13:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-21 10:13:37 (GMT)
commit2951fec86bc93ecddf4fd9cdb697df49992879cc (patch)
treeedbc91ee6b8cec5968ef78ebc501937c02d79a5d /generic/tclTest.c
parentd07793f49c40187467711bf8dc929228d7b1c940 (diff)
parent13bc69a8a43c72889340638705bd432fae89352f (diff)
downloadtcl-2951fec86bc93ecddf4fd9cdb697df49992879cc.zip
tcl-2951fec86bc93ecddf4fd9cdb697df49992879cc.tar.gz
tcl-2951fec86bc93ecddf4fd9cdb697df49992879cc.tar.bz2
remove unnecessary struct names, which only pollute the "struct" namespace for the compiler.
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 9b958dd..dcfe8b0 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -90,7 +90,7 @@ static Tcl_Trace cmdTrace;
* TestdelCmd:
*/
-typedef struct DelCmd {
+typedef struct {
Tcl_Interp *interp; /* Interpreter in which command exists. */
char *deleteCmd; /* Script to execute when command is deleted.
* Malloc'ed. */
@@ -101,7 +101,7 @@ typedef struct DelCmd {
* command.
*/
-typedef struct TclEncoding {
+typedef struct {
Tcl_Interp *interp;
char *toUtfCmd;
char *fromUtfCmd;
@@ -117,7 +117,7 @@ static int exitMainLoop = 0;
* Event structure used in testing the event queue management procedures.
*/
-typedef struct TestEvent {
+typedef struct {
Tcl_Event header; /* Header common to all events */
Tcl_Interp *interp; /* Interpreter that will handle the event */
Tcl_Obj *command; /* Command to evaluate when the event occurs */