summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadOSF.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-08 10:32:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-08 10:32:39 (GMT)
commit730bfc363104af29b3a656da24f5dbf00fe11fa9 (patch)
tree5ac50dfaff7dde2e41e507277f70fefdbbda6be3 /unix/tclLoadOSF.c
parenta59b6e0bf7d4ce8ce4bf1d5b5f994bc0adc60912 (diff)
parent3489422b6ee1589effd0dadf0556985e331d689b (diff)
downloadtcl-730bfc363104af29b3a656da24f5dbf00fe11fa9.zip
tcl-730bfc363104af29b3a656da24f5dbf00fe11fa9.tar.gz
tcl-730bfc363104af29b3a656da24f5dbf00fe11fa9.tar.bz2
merge trunk
Diffstat (limited to 'unix/tclLoadOSF.c')
-rw-r--r--unix/tclLoadOSF.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/unix/tclLoadOSF.c b/unix/tclLoadOSF.c
index 6515b89..6e76b55 100644
--- a/unix/tclLoadOSF.c
+++ b/unix/tclLoadOSF.c
@@ -35,12 +35,14 @@
#include "tclInt.h"
#include <sys/types.h>
#include <loader.h>
-
-/* Static functions defined within this file */
-static void* FindSymbol(Tcl_Interp* interp, Tcl_LoadHandle loadHandle,
- const char* symbol);
-static void UnloadFile(Tcl_LoadHandle handle);
+/*
+ * Static functions defined within this file.
+ */
+
+static void * FindSymbol(Tcl_Interp *interp,
+ Tcl_LoadHandle loadHandle, const char* symbol);
+static void UnloadFile(Tcl_LoadHandle handle);
/*
*----------------------------------------------------------------------
@@ -105,7 +107,7 @@ TclpDlopen(
if (lm == LDR_NULL_MODULE) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"couldn't load file \"%s\": %s",
- fileName, Tcl_PosixError(interp));
+ fileName, Tcl_PosixError(interp)));
return TCL_ERROR;
}