summaryrefslogtreecommitdiffstats
path: root/macosx
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)
commitc1ce97106f2bcbbcad391621a3617e14a7648052 (patch)
tree5c0b46ceadbe2eff89d3297cc3b0b75ce3643b25 /macosx
parentc8212c36e91c536433c5a43b8a66ddb19c20d723 (diff)
downloadtcl-c1ce97106f2bcbbcad391621a3617e14a7648052.zip
tcl-c1ce97106f2bcbbcad391621a3617e14a7648052.tar.gz
tcl-c1ce97106f2bcbbcad391621a3617e14a7648052.tar.bz2
Simplify use of "struct" keyword in many places.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tclMacOSXFCmd.c2
-rw-r--r--macosx/tclMacOSXNotify.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index 8ecfd0b..7c643a3 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -106,7 +106,7 @@ typedef struct finderinfo {
u_int32_t extendedFileInfo[4];
} __attribute__ ((__packed__)) finderinfo;
-typedef struct fileinfobuf {
+typedef struct {
u_int32_t info_length;
u_int32_t data[8];
} fileinfobuf;
diff --git a/macosx/tclMacOSXNotify.c b/macosx/tclMacOSXNotify.c
index 9b7bd1a..a7f26b7 100644
--- a/macosx/tclMacOSXNotify.c
+++ b/macosx/tclMacOSXNotify.c
@@ -217,7 +217,7 @@ typedef struct FileHandler {
* handlers are ready to fire.
*/
-typedef struct FileHandlerEvent {
+typedef struct {
Tcl_Event header; /* Information that is standard for all
* events. */
int fd; /* File descriptor that is ready. Used to find
@@ -232,7 +232,7 @@ typedef struct FileHandlerEvent {
* writable, and exceptional conditions.
*/
-typedef struct SelectMasks {
+typedef struct {
fd_set readable;
fd_set writable;
fd_set exceptional;