diff options
author | nijtmans <nijtmans@noemail.net> | 2008-10-15 06:17:03 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-10-15 06:17:03 (GMT) |
commit | f09a58e596010da1f79151e45b13a63ed1fb652e (patch) | |
tree | 20cca6f694fead4ac88a820249260a91c18a3387 /generic/tclRegexp.c | |
parent | 08c47d5992d5b1d74fac766a534cdf633354aec6 (diff) | |
download | tcl-f09a58e596010da1f79151e45b13a63ed1fb652e.zip tcl-f09a58e596010da1f79151e45b13a63ed1fb652e.tar.gz tcl-f09a58e596010da1f79151e45b13a63ed1fb652e.tar.bz2 |
Add "const" to many internal
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
FossilOrigin-Name: 8fcbc25d98c79d16b8fb798cfe37aa513d5f5067
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r-- | generic/tclRegexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c index c82b474..4748e58 100644 --- a/generic/tclRegexp.c +++ b/generic/tclRegexp.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclRegexp.c,v 1.29 2008/10/04 18:06:48 dkf Exp $ + * RCS: @(#) $Id: tclRegexp.c,v 1.30 2008/10/15 06:17:04 nijtmans Exp $ */ #include "tclInt.h" @@ -102,7 +102,7 @@ static int SetRegexpFromAny(Tcl_Interp *interp, Tcl_Obj *objPtr); * compiled form of the regular expression. */ -Tcl_ObjType tclRegexpType = { +const Tcl_ObjType tclRegexpType = { "regexp", /* name */ FreeRegexpInternalRep, /* freeIntRepProc */ DupRegexpInternalRep, /* dupIntRepProc */ |