summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-03-11 13:35:23 (GMT)
committernijtmans <nijtmans>2010-03-11 13:35:23 (GMT)
commitad3425f0ba4af76882183ec4bf7a07034fd77311 (patch)
tree59bd32315a34884c283ae1a2c1a5b80ce91a2e06 /unix/tclLoadDyld.c
parent2c4e9fc134585c9dbbd25671018e100165ad1b63 (diff)
downloadtcl-ad3425f0ba4af76882183ec4bf7a07034fd77311.zip
tcl-ad3425f0ba4af76882183ec4bf7a07034fd77311.tar.gz
tcl-ad3425f0ba4af76882183ec4bf7a07034fd77311.tar.bz2
Remove unnecessary '&' decoration for function
pointers. Fix double declaration of TclNativeDupInternalRep
Diffstat (limited to 'unix/tclLoadDyld.c')
-rw-r--r--unix/tclLoadDyld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index 5e330c8..79fa227 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.32 2009/04/10 18:10:39 das Exp $
+ * RCS: @(#) $Id: tclLoadDyld.c,v 1.33 2010/03/11 13:35:25 nijtmans Exp $
*/
#include "tclInt.h"
@@ -308,7 +308,7 @@ TclpDlopen(
dyldLoadHandle->modulePtr = modulePtr;
#endif
*loadHandle = (Tcl_LoadHandle) dyldLoadHandle;
- *unloadProcPtr = &TclpUnloadFile;
+ *unloadProcPtr = TclpUnloadFile;
result = TCL_OK;
} else {
Tcl_AppendResult(interp, errMsg, NULL);
@@ -758,7 +758,7 @@ TclpLoadMemory(
dyldLoadHandle->dyldLibHeader = NULL;
dyldLoadHandle->modulePtr = modulePtr;
*loadHandle = (Tcl_LoadHandle) dyldLoadHandle;
- *unloadProcPtr = &TclpUnloadFile;
+ *unloadProcPtr = TclpUnloadFile;
return TCL_OK;
}
#endif /* TCL_LOAD_FROM_MEMORY */