diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 21:38:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 21:38:50 (GMT) |
commit | bb146c387f42e478b1d8ffbc8617988fb572587c (patch) | |
tree | 21613b0eb89c7761720b11b131e69e333052ed9b /generic/regerror.c | |
parent | c15c9e5f26e373ec9674b39dc42d2c3500c65b5c (diff) | |
download | tcl-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.c | 2 |
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 { |