diff options
author | nijtmans <nijtmans@noemail.net> | 2008-10-15 06:41:05 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-10-15 06:41:05 (GMT) |
commit | 09b951c1b1092b4cb3676041c919312bd903a437 (patch) | |
tree | 29f5c39636b7be9789e731887bc5a58b1b1ee2f3 /generic/tkConfig.c | |
parent | 7fda13b5e4abf3cbb0f8a708d7676c1e7b92bfaf (diff) | |
download | tk-09b951c1b1092b4cb3676041c919312bd903a437.zip tk-09b951c1b1092b4cb3676041c919312bd903a437.tar.gz tk-09b951c1b1092b4cb3676041c919312bd903a437.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: 7702e3f7a3d0133733e965183538a53dffbeba1c
Diffstat (limited to 'generic/tkConfig.c')
-rw-r--r-- | generic/tkConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConfig.c b/generic/tkConfig.c index 8482871..201f204 100644 --- a/generic/tkConfig.c +++ b/generic/tkConfig.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkConfig.c,v 1.28 2008/10/05 18:22:21 dkf Exp $ + * RCS: @(#) $Id: tkConfig.c,v 1.29 2008/10/15 06:41:06 nijtmans Exp $ */ /* @@ -136,7 +136,7 @@ static int SetOptionFromAny(Tcl_Interp *interp, Tcl_Obj *objPtr); * the internalPtr2 field points to the entry that matched. */ -Tcl_ObjType tkOptionObjType = { +const Tcl_ObjType tkOptionObjType = { "option", /* name */ NULL, /* freeIntRepProc */ NULL, /* dupIntRepProc */ |