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 /macosx | |
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 'macosx')
-rw-r--r-- | macosx/tclMacOSXFCmd.c | 2 | ||||
-rw-r--r-- | macosx/tclMacOSXNotify.c | 4 |
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; |