summaryrefslogtreecommitdiffstats
path: root/generic/regcustom.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-01 11:55:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-01 11:55:40 (GMT)
commit74f9c831ac95d109ce2a36f39ee1f6389789bc47 (patch)
treed143605e7972f08cc3bdff1d320ccbe293d9b5f2 /generic/regcustom.h
parenta2d61902c5917155fc102959689720cf55d07895 (diff)
parentb89c01475a4aa977cfa56b2292504c60de9a7427 (diff)
downloadtcl-74f9c831ac95d109ce2a36f39ee1f6389789bc47.zip
tcl-74f9c831ac95d109ce2a36f39ee1f6389789bc47.tar.gz
tcl-74f9c831ac95d109ce2a36f39ee1f6389789bc47.tar.bz2
Merge tip-548
Diffstat (limited to 'generic/regcustom.h')
-rw-r--r--generic/regcustom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regcustom.h b/generic/regcustom.h
index e4db7cb..a6c19a3 100644
--- a/generic/regcustom.h
+++ b/generic/regcustom.h
@@ -131,7 +131,7 @@ typedef int celt; /* Type to hold chr, or NOCELT */
#if 1
#define AllocVars(vPtr) \
static Tcl_ThreadDataKey varsKey; \
- register struct vars *vPtr = (struct vars *) \
+ struct vars *vPtr = (struct vars *) \
Tcl_GetThreadData(&varsKey, sizeof(struct vars))
#else
/*
@@ -140,7 +140,7 @@ typedef int celt; /* Type to hold chr, or NOCELT */
* faster in practice (measured!)
*/
#define AllocVars(vPtr) \
- register struct vars *vPtr = (struct vars *) MALLOC(sizeof(struct vars))
+ struct vars *vPtr = (struct vars *) MALLOC(sizeof(struct vars))
#define FreeVars(vPtr) \
FREE(vPtr)
#endif