diff options
| author | nijtmans <nijtmans> | 2009-02-03 23:10:57 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2009-02-03 23:10:57 (GMT) |
| commit | ae7e130ccddfb607013bf21df66a85929425d467 (patch) | |
| tree | a72237070484512e9aa19c3f44b7ed7313fe1086 /unix/tclLoadDyld.c | |
| parent | 88728de8d96f0fb5b4cf9f612756e1c969cdfbcc (diff) | |
| download | tcl-ae7e130ccddfb607013bf21df66a85929425d467.zip tcl-ae7e130ccddfb607013bf21df66a85929425d467.tar.gz tcl-ae7e130ccddfb607013bf21df66a85929425d467.tar.bz2 | |
- eliminate some unnessary type casts
- some internal const decorations
- spacing
Diffstat (limited to 'unix/tclLoadDyld.c')
| -rw-r--r-- | unix/tclLoadDyld.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c index 93d29ab..e30742b 100644 --- a/unix/tclLoadDyld.c +++ b/unix/tclLoadDyld.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLoadDyld.c,v 1.30 2008/04/27 22:21:34 dkf Exp $ + * RCS: @(#) $Id: tclLoadDyld.c,v 1.31 2009/02/03 23:10:57 nijtmans Exp $ */ #include "tclInt.h" @@ -629,14 +629,14 @@ TclpLoadMemory( uint32_t ms = 0; #ifndef __LP64__ const struct mach_header *mh = NULL; - #define mh_size sizeof(struct mach_header) - #define mh_magic MH_MAGIC - #define arch_abi 0 +# define mh_size sizeof(struct mach_header) +# define mh_magic MH_MAGIC +# define arch_abi 0 #else const struct mach_header_64 *mh = NULL; - #define mh_size sizeof(struct mach_header_64) - #define mh_magic MH_MAGIC_64 - #define arch_abi CPU_ARCH_ABI64 +# define mh_size sizeof(struct mach_header_64) +# define mh_magic MH_MAGIC_64 +# define arch_abi CPU_ARCH_ABI64 #endif if ((size_t) codeSize >= sizeof(struct fat_header) |
