diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-20 06:49:25 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-20 06:49:25 (GMT) |
| commit | 9aa711e8e0c11bcdda23542d82c44a773e07251c (patch) | |
| tree | f12dd6b08f1cd82f307af3dfe425de988643035f /generic/tclIORTrans.c | |
| parent | a074f8f61ac516e2cb03222eb9f9a2dc82fb6c8a (diff) | |
| download | tcl-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/tclIORTrans.c')
| -rw-r--r-- | generic/tclIORTrans.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c index 2b9efb9..99ee2ec 100644 --- a/generic/tclIORTrans.c +++ b/generic/tclIORTrans.c @@ -87,7 +87,7 @@ static const Tcl_ChannelType tclRTransformType = { * layers upon reading from the channel, plus the functions to manage such. */ -typedef struct _ResultBuffer_ { +typedef struct { unsigned char *buf; /* Reference to the buffer area. */ int allocated; /* Allocated size of the buffer area. */ int used; /* Number of bytes in the buffer, @@ -252,7 +252,7 @@ typedef enum { * sharing problems. */ -typedef struct ForwardParamBase { +typedef struct { int code; /* O: Ok/Fail of the cmd handler */ char *msgStr; /* O: Error message for handler failure */ int mustFree; /* O: True if msgStr is allocated, false if @@ -297,7 +297,7 @@ typedef struct ForwardingResult ForwardingResult; * General event structure, with reference to operation specific data. */ -typedef struct ForwardingEvent { +typedef struct { Tcl_Event event; /* Basic event data, has to be first item */ ForwardingResult *resultPtr; ForwardedOperation op; /* Forwarded driver operation */ @@ -328,7 +328,7 @@ struct ForwardingResult { * results. */ }; -typedef struct ThreadSpecificData { +typedef struct { /* * Table of all reflected transformations owned by this thread. */ |
