summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-05 22:45:03 (GMT)
committernijtmans <nijtmans>2010-02-05 22:45:03 (GMT)
commit454e04bbf4e61fb4a363ffcfedb08e941a17952f (patch)
tree13a98d3f366ae4c7f4dac0f3935a609ea5797c2f /unix
parentcece90e032954ae35ffb33120b3a0a01cd226b25 (diff)
downloadtk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.zip
tk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.tar.gz
tk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.tar.bz2
Make more internal tables "const"
tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixButton.c4
-rw-r--r--unix/tkUnixWm.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c
index 5e4c926..c4c9c44 100644
--- a/unix/tkUnixButton.c
+++ b/unix/tkUnixButton.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixButton.c,v 1.28 2010/01/13 23:08:11 nijtmans Exp $
+ * RCS: @(#) $Id: tkUnixButton.c,v 1.29 2010/02/05 22:45:03 nijtmans Exp $
*/
#include "tkInt.h"
@@ -59,7 +59,7 @@ const Tk_ClassProcs tkpButtonProcs = {
*/
/* XPM */
-static const char *button_images[] = {
+static const char *const button_images[] = {
/* width height ncolors chars_per_pixel */
"52 26 7 1",
/* colors */
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index e09f66d..9539fbc 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.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: tkUnixWm.c,v 1.79 2010/01/19 01:27:41 patthoyts Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.80 2010/02/05 22:45:03 nijtmans Exp $
*/
#include "tkUnixInt.h"
@@ -1003,7 +1003,7 @@ Tk_WmObjCmd(
Tcl_Obj *const objv[]) /* Argument objects. */
{
Tk_Window tkwin = clientData;
- static const char *optionStrings[] = {
+ static const char *const optionStrings[] = {
"aspect", "attributes", "client", "colormapwindows",
"command", "deiconify", "focusmodel", "forget",
"frame", "geometry", "grid", "group", "iconbitmap",