summaryrefslogtreecommitdiffstats
path: root/unix/tkAppInit.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-23 21:45:14 (GMT)
committernijtmans <nijtmans>2010-09-23 21:45:14 (GMT)
commit1b31f97ffbb009c3449903ede524bc241c6bade9 (patch)
treea55f95904cd0125c711995b380f85d26126e174f /unix/tkAppInit.c
parent1c475f1af34445bb15b76cf17cb7a3fbe7648d81 (diff)
downloadtk-1b31f97ffbb009c3449903ede524bc241c6bade9.zip
tk-1b31f97ffbb009c3449903ede524bc241c6bade9.tar.gz
tk-1b31f97ffbb009c3449903ede524bc241c6bade9.tar.bz2
Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just as Tcl_SetVar.
Diffstat (limited to 'unix/tkAppInit.c')
-rw-r--r--unix/tkAppInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkAppInit.c b/unix/tkAppInit.c
index caab966..e18ddc2 100644
--- a/unix/tkAppInit.c
+++ b/unix/tkAppInit.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: tkAppInit.c,v 1.11 2010/09/23 10:01:57 nijtmans Exp $
+ * RCS: @(#) $Id: tkAppInit.c,v 1.12 2010/09/23 21:45:14 nijtmans Exp $
*/
#include "tk.h"
@@ -94,7 +94,7 @@ int
Tcl_AppInit(
Tcl_Interp *interp) /* Interpreter for application. */
{
- if (Tcl_Init(interp) == TCL_ERROR) {
+ if ((Tcl_Init)(interp) == TCL_ERROR) {
return TCL_ERROR;
}