From 5ce973a3732875f0588ca6d953a4869830dfa768 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Mon, 19 Nov 2007 23:19:21 +0000 Subject: [PATCH] Add extern to prototypes for tcl internal functions git-svn-id: svn://svn.equi4.com/kitgen/trunk@1846 9e558909-932a-0410-a563-af77432da1eb --- pwb.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pwb.c b/pwb.c index d6b859f..3d0d800 100644 --- a/pwb.c +++ b/pwb.c @@ -8,16 +8,18 @@ #include -/* in tclInt.h: */ -Tcl_Obj* TclGetLibraryPath(); +/* defined in tclInt.h */ +extern Tcl_Obj* TclGetLibraryPath(); +extern void TclSetLibraryPath (Tcl_Obj*); +extern void TclpSetInitialEncodings (void); /* Support for encodings, from Vince Darley */ static int -LibraryPathObjCmd(dummy, interp, objc, objv) - ClientData dummy; - Tcl_Interp *interp; - int objc; - Tcl_Obj *CONST objv[]; +LibraryPathObjCmd( + ClientData dummy, + Tcl_Interp *interp, + int objc, + Tcl_Obj *CONST objv[]) { if (objc == 1) { Tcl_SetObjResult(interp, TclGetLibraryPath()); -- 2.23.0