diff options
author | nijtmans <nijtmans> | 2008-10-15 06:41:06 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-15 06:41:06 (GMT) |
commit | 61b16774d545ab31705be8fda1520731cb0075f7 (patch) | |
tree | 29f5c39636b7be9789e731887bc5a58b1b1ee2f3 /generic/tkStyle.c | |
parent | d7a70751627660bb7343dab5abda94a068388dd1 (diff) | |
download | tk-61b16774d545ab31705be8fda1520731cb0075f7.zip tk-61b16774d545ab31705be8fda1520731cb0075f7.tar.gz tk-61b16774d545ab31705be8fda1520731cb0075f7.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.
Diffstat (limited to 'generic/tkStyle.c')
-rw-r--r-- | generic/tkStyle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkStyle.c b/generic/tkStyle.c index 24464c0..b4815a5 100644 --- a/generic/tkStyle.c +++ b/generic/tkStyle.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: tkStyle.c,v 1.9 2008/04/27 22:38:58 dkf Exp $ + * RCS: @(#) $Id: tkStyle.c,v 1.10 2008/10/15 06:41:06 nijtmans Exp $ */ #include "tkInt.h" @@ -152,7 +152,7 @@ static int SetStyleFromAny(Tcl_Interp *interp, Tcl_Obj *objPtr); * object points to the Style structure for the stylefont, or NULL. */ -static Tcl_ObjType styleObjType = { +static const Tcl_ObjType styleObjType = { "style", /* name */ FreeStyleObjProc, /* freeIntRepProc */ DupStyleObjProc, /* dupIntRepProc */ |