summaryrefslogtreecommitdiffstats
path: root/generic/tkMessage.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-03 05:06:25 (GMT)
committernijtmans <nijtmans>2007-01-03 05:06:25 (GMT)
commitdbdb747f0ab019670882c941dac93269b5e07c78 (patch)
treeee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/tkMessage.c
parentc3f45c4f5ef8481036125cdb14c361c9987a9a6a (diff)
downloadtk-dbdb747f0ab019670882c941dac93269b5e07c78.zip
tk-dbdb747f0ab019670882c941dac93269b5e07c78.tar.gz
tk-dbdb747f0ab019670882c941dac93269b5e07c78.tar.bz2
various "const" additions, in line with TIP #27
Diffstat (limited to 'generic/tkMessage.c')
-rw-r--r--generic/tkMessage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkMessage.c b/generic/tkMessage.c
index aeb09f4..6392d76 100644
--- a/generic/tkMessage.c
+++ b/generic/tkMessage.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMessage.c,v 1.16 2006/05/25 23:50:00 hobbs Exp $
+ * RCS: @(#) $Id: tkMessage.c,v 1.17 2007/01/03 05:06:26 nijtmans Exp $
*/
#include "tkPort.h"
@@ -110,7 +110,7 @@ typedef struct {
* Information used for argv parsing.
*/
-static Tk_OptionSpec optionSpecs[] = {
+static const Tk_OptionSpec optionSpecs[] = {
{TK_OPTION_ANCHOR, "-anchor", "anchor", "Anchor", DEF_MESSAGE_ANCHOR,
-1, Tk_Offset(Message, anchor), 0, 0, 0},
{TK_OPTION_INT, "-aspect", "aspect", "Aspect", DEF_MESSAGE_ASPECT,