summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2009-11-19 16:31:09 (GMT)
committerdgp <dgp@noemail.net>2009-11-19 16:31:09 (GMT)
commitb08f1a28477332dcc25f23b82cc324bc15de98ce (patch)
treea0d1e181aff1565c56f901c29f22de688b0239f3 /unix/tclAppInit.c
parentace7e84eb2db3747c0691e19c622e54a9d1adba0 (diff)
downloadtcl-b08f1a28477332dcc25f23b82cc324bc15de98ce.zip
tcl-b08f1a28477332dcc25f23b82cc324bc15de98ce.tar.gz
tcl-b08f1a28477332dcc25f23b82cc324bc15de98ce.tar.bz2
* unix/tclAppInit.c: Repair broken build of the tcltest executable.
* win/tclAppInit.c: [Bug 2883850, 2900542]. FossilOrigin-Name: 9fdef42bece4c702eac23d1ee08ab7ae3e6e3654
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index 7d8e1c0..a39b448 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclAppInit.c,v 1.19 2009/11/18 23:46:05 nijtmans Exp $
+ * RCS: @(#) $Id: tclAppInit.c,v 1.20 2009/11/19 16:31:10 dgp Exp $
*/
#include "tcl.h"
@@ -21,6 +21,7 @@
#include "tclInt.h"
extern Tcl_PackageInitProc Tcltest_Init;
+extern Tcl_PackageInitProc Tcltest_SafeInit;
#endif /* TCL_TEST */
@@ -122,8 +123,7 @@ Tcl_AppInit(
if (Tcltest_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
- Tcl_StaticPackage(interp, "Tcltest", Tcltest_Init,
- (Tcl_PackageInitProc *) Tcltest_SafeInit);
+ Tcl_StaticPackage(interp, "Tcltest", Tcltest_Init, Tcltest_SafeInit);
#endif /* TCL_TEST */
/*