summaryrefslogtreecommitdiffstats
path: root/macosx/tclMacOSXFCmd.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-10-26 18:50:06 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-10-26 18:50:06 (GMT)
commite2a86ffb4d1c3d4ec5f674f22f705f13567939d8 (patch)
tree201f73f6c66bc300b91aba83104d61fb9b406bed /macosx/tclMacOSXFCmd.c
parentd84707cdee0b26bca07af2756cb4e234e11a6195 (diff)
downloadtcl-e2a86ffb4d1c3d4ec5f674f22f705f13567939d8.zip
tcl-e2a86ffb4d1c3d4ec5f674f22f705f13567939d8.tar.gz
tcl-e2a86ffb4d1c3d4ec5f674f22f705f13567939d8.tar.bz2
Style improvements - invoking callbacks without visual junk.
Diffstat (limited to 'macosx/tclMacOSXFCmd.c')
-rw-r--r--macosx/tclMacOSXFCmd.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index 31245f1..c902a28 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacOSXFCmd.c,v 1.14 2008/10/16 22:34:19 nijtmans Exp $
+ * RCS: @(#) $Id: tclMacOSXFCmd.c,v 1.15 2008/10/26 18:50:06 dkf Exp $
*/
#include "tclInt.h"
@@ -132,8 +132,8 @@ TclMacOSXGetFileAttribute(
Tcl_StatBuf statBuf;
struct attrlist alist;
fileinfobuf finfo;
- finderinfo *finder = (finderinfo*)(&finfo.data);
- off_t *rsrcForkSize = (off_t*)(&finfo.data);
+ finderinfo *finder = (finderinfo *) &finfo.data;
+ off_t *rsrcForkSize = (off_t *) &finfo.data;
const char *native;
result = TclpObjStat(fileName, &statBuf);
@@ -224,8 +224,8 @@ TclMacOSXSetFileAttribute(
Tcl_StatBuf statBuf;
struct attrlist alist;
fileinfobuf finfo;
- finderinfo *finder = (finderinfo*)(&finfo.data);
- off_t *rsrcForkSize = (off_t*)(&finfo.data);
+ finderinfo *finder = (finderinfo *) &finfo.data;
+ off_t *rsrcForkSize = (off_t *) &finfo.data;
const char *native;
result = TclpObjStat(fileName, &statBuf);
@@ -405,7 +405,7 @@ TclMacOSXCopyFileAttributes(
#ifdef HAVE_GETATTRLIST
struct attrlist alist;
fileinfobuf finfo;
- off_t *rsrcForkSize = (off_t*)(&finfo.data);
+ off_t *rsrcForkSize = (off_t *) &finfo.data;
bzero(&alist, sizeof(struct attrlist));
alist.bitmapcount = ATTR_BIT_MAP_COUNT;
@@ -497,7 +497,7 @@ TclMacOSXMatchType(
#ifdef HAVE_GETATTRLIST
struct attrlist alist;
fileinfobuf finfo;
- finderinfo *finder = (finderinfo*)(&finfo.data);
+ finderinfo *finder = (finderinfo *) &finfo.data;
OSType osType;
bzero(&alist, sizeof(struct attrlist));