diff options
author | dkf <dkf@noemail.net> | 2012-08-07 20:57:08 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-08-07 20:57:08 (GMT) |
commit | da727e6d79497647fcbb4206085bbeed9b889e2d (patch) | |
tree | 01529af3ee161f7c70fd8f14ba581054bd52155c /unix/tclLoadOSF.c | |
parent | ba087d4891204d433c6204c4ef4f4ec440cb5a16 (diff) | |
download | tcl-da727e6d79497647fcbb4206085bbeed9b889e2d.zip tcl-da727e6d79497647fcbb4206085bbeed9b889e2d.tar.gz tcl-da727e6d79497647fcbb4206085bbeed9b889e2d.tar.bz2 |
Minor changes to improve style (C89 declarations, consistent indentation,
clarification of #endifs, reduction of unnecessary casts, use of array syntax
for reading array elements, etc.)
FossilOrigin-Name: 3995dbcf90f781e3ada9e350f501dbb1bf5550be
Diffstat (limited to 'unix/tclLoadOSF.c')
-rw-r--r-- | unix/tclLoadOSF.c | 14 |
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; } |