summaryrefslogtreecommitdiffstats
path: root/mac/tclMacThrd.c
diff options
context:
space:
mode:
authordavygrvy@pobox.com <davygrvy>2003-12-24 04:18:18 (GMT)
committerdavygrvy@pobox.com <davygrvy>2003-12-24 04:18:18 (GMT)
commit09f3f1e13de3f29f152261bc48e1175f8897dedf (patch)
treeeff546c6e792fecd4310f81379419c1d68d63c28 /mac/tclMacThrd.c
parent2bb7451feb141f047c02c5a2a184101da43c3e3a (diff)
downloadtcl-09f3f1e13de3f29f152261bc48e1175f8897dedf.zip
tcl-09f3f1e13de3f29f152261bc48e1175f8897dedf.tar.gz
tcl-09f3f1e13de3f29f152261bc48e1175f8897dedf.tar.bz2
All uses of 'panic' (the macro) changed
to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
Diffstat (limited to 'mac/tclMacThrd.c')
-rw-r--r--mac/tclMacThrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/tclMacThrd.c b/mac/tclMacThrd.c
index dec4842..4d98d9c 100644
--- a/mac/tclMacThrd.c
+++ b/mac/tclMacThrd.c
@@ -710,7 +710,7 @@ GetThreadDataStruct(keyVal)
if ((int) keyVal <= 0) {
return NULL;
} else if ((int) keyVal > keyCounter) {
- panic("illegal data key value");
+ Tcl_Panic("illegal data key value");
}
GetCurrentThread(&curThread);
@@ -755,7 +755,7 @@ RemoveThreadDataStruct(keyVal)
if ((int) keyVal <= 0) {
return NULL;
} else if ((int) keyVal > keyCounter) {
- panic("illegal data key value");
+ Tcl_Panic("illegal data key value");
}
GetCurrentThread(&curThread);