summaryrefslogtreecommitdiffstats
path: root/generic/tclPanic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-28 15:53:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-28 15:53:59 (GMT)
commitd04f26fbb1b66663603734f8b8cb26d7617a9e4a (patch)
tree2df9a9b3972bab65d79cb7e4a2bc16adc51c05ac /generic/tclPanic.c
parent7f42387e71a69b938ecd25945d10f01f6e39bcc7 (diff)
parent71dcf14194a52565764654ad3039af42c094e8e8 (diff)
downloadtcl-d04f26fbb1b66663603734f8b8cb26d7617a9e4a.zip
tcl-d04f26fbb1b66663603734f8b8cb26d7617a9e4a.tar.gz
tcl-d04f26fbb1b66663603734f8b8cb26d7617a9e4a.tar.bz2
Merge 8.7 Signature change for Tcl_SetPanicProc() and Tcl_FindExecutable()
Diffstat (limited to 'generic/tclPanic.c')
-rw-r--r--generic/tclPanic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPanic.c b/generic/tclPanic.c
index 394661f..1fd922b 100644
--- a/generic/tclPanic.c
+++ b/generic/tclPanic.c
@@ -45,7 +45,7 @@ static TCL_NORETURN1 Tcl_PanicProc *panicProc = NULL;
*----------------------------------------------------------------------
*/
-void
+const char *
Tcl_SetPanicProc(
TCL_NORETURN1 Tcl_PanicProc *proc)
{
@@ -58,7 +58,7 @@ Tcl_SetPanicProc(
else
#endif
panicProc = proc;
- Tcl_InitSubsystems();
+ return Tcl_InitSubsystems();
}
/*