summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-07-22 19:54:49 (GMT)
committernijtmans <nijtmans>2009-07-22 19:54:49 (GMT)
commit432b10e730341c0769705ac13e8b21ceb665d1b5 (patch)
tree949e2f867e692c026d054423abe4d4180e37cf74 /generic
parent223b313a0cf97cf513b18df35a99f4c58cee7b39 (diff)
downloadtcl-432b10e730341c0769705ac13e8b21ceb665d1b5.zip
tcl-432b10e730341c0769705ac13e8b21ceb665d1b5.tar.gz
tcl-432b10e730341c0769705ac13e8b21ceb665d1b5.tar.bz2
Feature Request 2814786: remove TclpPanic
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInt.h3
-rw-r--r--generic/tclPanic.c12
2 files changed, 2 insertions, 13 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index d2d8830..2f521eb 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInt.h,v 1.430 2009/07/15 13:17:18 dkf Exp $
+ * RCS: @(#) $Id: tclInt.h,v 1.431 2009/07/22 19:54:49 nijtmans Exp $
*/
#ifndef _TCLINT
@@ -2868,7 +2868,6 @@ MODULE_SCOPE Tcl_Channel TclpOpenTemporaryFile(Tcl_Obj *dirObj,
Tcl_Obj *resultingNameObj);
MODULE_SCOPE Tcl_Obj * TclPathPart(Tcl_Interp *interp, Tcl_Obj *pathPtr,
Tcl_PathPart portion);
-MODULE_SCOPE void TclpPanic(const char *format, ...);
MODULE_SCOPE char * TclpReadlink(const char *fileName,
Tcl_DString *linkPtr);
MODULE_SCOPE void TclpReleaseFile(TclFile file);
diff --git a/generic/tclPanic.c b/generic/tclPanic.c
index e74df68..b3a5ed6 100644
--- a/generic/tclPanic.c
+++ b/generic/tclPanic.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclPanic.c,v 1.13 2009/06/30 00:56:08 das Exp $
+ * RCS: @(#) $Id: tclPanic.c,v 1.14 2009/07/22 19:54:50 nijtmans Exp $
*/
#include "tclInt.h"
@@ -24,13 +24,6 @@
*/
static Tcl_PanicProc *panicProc = NULL;
-
-/*
- * The platformPanicProc variable contains a pointer to a platform specific
- * panic procedure, if any. (TclpPanic may be NULL via a macro.)
- */
-
-static Tcl_PanicProc *const platformPanicProc = TclpPanic;
/*
*----------------------------------------------------------------------
@@ -92,9 +85,6 @@ Tcl_PanicVA(
if (panicProc != NULL) {
panicProc(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
- } else if (platformPanicProc != NULL) {
- platformPanicProc(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
- arg8);
} else {
fprintf(stderr, format, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
arg8);