summaryrefslogtreecommitdiffstats
path: root/generic/tkCursor.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-15 06:41:06 (GMT)
committernijtmans <nijtmans>2008-10-15 06:41:06 (GMT)
commit61b16774d545ab31705be8fda1520731cb0075f7 (patch)
tree29f5c39636b7be9789e731887bc5a58b1b1ee2f3 /generic/tkCursor.c
parentd7a70751627660bb7343dab5abda94a068388dd1 (diff)
downloadtk-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/tkCursor.c')
-rw-r--r--generic/tkCursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCursor.c b/generic/tkCursor.c
index d4e112d..8d46854 100644
--- a/generic/tkCursor.c
+++ b/generic/tkCursor.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCursor.c,v 1.19 2008/04/27 22:38:56 dkf Exp $
+ * RCS: @(#) $Id: tkCursor.c,v 1.20 2008/10/15 06:41:06 nijtmans Exp $
*/
#include "tkInt.h"
@@ -56,7 +56,7 @@ static void InitCursorObj(Tcl_Obj *objPtr);
* option is set.
*/
-Tcl_ObjType tkCursorObjType = {
+Tcl_ObjType const tkCursorObjType = {
"cursor", /* name */
FreeCursorObjProc, /* freeIntRepProc */
DupCursorObjProc, /* dupIntRepProc */