summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2010-03-11 13:35:23 (GMT)
committernijtmans <nijtmans@noemail.net>2010-03-11 13:35:23 (GMT)
commit4990cbd0a2c537b39e2510604d891116d8975edf (patch)
tree59bd32315a34884c283ae1a2c1a5b80ce91a2e06 /unix/tclLoadDyld.c
parent7e291d5fd5ce5ea97de5cced0c7d40d203e4952c (diff)
downloadtcl-4990cbd0a2c537b39e2510604d891116d8975edf.zip
tcl-4990cbd0a2c537b39e2510604d891116d8975edf.tar.gz
tcl-4990cbd0a2c537b39e2510604d891116d8975edf.tar.bz2
Remove unnecessary '&' decoration for function
pointers. Fix double declaration of TclNativeDupInternalRep FossilOrigin-Name: bb4a12448bcecb18222b82374565ecea83c07bc1
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 */