summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2025-09-10 14:14:47 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2025-09-10 14:14:47 (GMT)
commit68375bf1e810ecbfbbac11c946894309b217412a (patch)
tree1dfd2c9cd7a16800a96591d7cc8d898d81e0f7ed /generic/tclThreadTest.c
parent0c7a28ef7ae29fa3c91cb824d4aed8d0e43cf267 (diff)
downloadtcl-68375bf1e810ecbfbbac11c946894309b217412a.zip
tcl-68375bf1e810ecbfbbac11c946894309b217412a.tar.gz
tcl-68375bf1e810ecbfbbac11c946894309b217412a.tar.bz2
Turn some things into enums that really should have been that all along
Diffstat (limited to 'generic/tclThreadTest.c')
-rw-r--r--generic/tclThreadTest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index 349830b..0cccda8 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.c
@@ -54,8 +54,9 @@ static ThreadSpecificData *threadList = NULL;
* The following bit-values are legal for the "flags" field of the
* ThreadSpecificData structure.
*/
-
-#define TP_Dying 0x001 /* This thread is being canceled */
+enum ThreadSpecificDataTestFlags {
+ TP_Dying = 0x001 /* This thread is being canceled */
+};
/*
* An instance of the following structure contains all information that is