summaryrefslogtreecommitdiffstats
path: root/generic/regerror.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 21:38:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 21:38:50 (GMT)
commitbb146c387f42e478b1d8ffbc8617988fb572587c (patch)
tree21613b0eb89c7761720b11b131e69e333052ed9b /generic/regerror.c
parentc15c9e5f26e373ec9674b39dc42d2c3500c65b5c (diff)
downloadtcl-bb146c387f42e478b1d8ffbc8617988fb572587c.zip
tcl-bb146c387f42e478b1d8ffbc8617988fb572587c.tar.gz
tcl-bb146c387f42e478b1d8ffbc8617988fb572587c.tar.bz2
make some more internal tables CONST
fix compilation with -DNO_CONST
Diffstat (limited to 'generic/regerror.c')
-rw-r--r--generic/regerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regerror.c b/generic/regerror.c
index 182830d..6376e80 100644
--- a/generic/regerror.c
+++ b/generic/regerror.c
@@ -32,7 +32,7 @@
#include "regguts.h"
/* unknown-error explanation */
-static char unk[] = "*** unknown regex error code 0x%x ***";
+static CONST char unk[] = "*** unknown regex error code 0x%x ***";
/* struct to map among codes, code names, and explanations */
static struct rerr {