summaryrefslogtreecommitdiffstats
path: root/generic/regc_locale.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-10-16 22:34:18 (GMT)
committernijtmans <nijtmans@noemail.net>2008-10-16 22:34:18 (GMT)
commitfd1af20283d2bed67e18d4990e3c690ee7740702 (patch)
treec92c0492d1db21f9b0c7f880eec5c0cd3ce36762 /generic/regc_locale.c
parent1e2a3ab0abe30f27bec29e326dadc97ee7856269 (diff)
downloadtcl-fd1af20283d2bed67e18d4990e3c690ee7740702.zip
tcl-fd1af20283d2bed67e18d4990e3c690ee7740702.tar.gz
tcl-fd1af20283d2bed67e18d4990e3c690ee7740702.tar.bz2
Add "const" to many internal
const tables. No functional or API change. FossilOrigin-Name: f03d2e2d83be42035c4aad3b01bbd09f5a967c1b
Diffstat (limited to 'generic/regc_locale.c')
-rw-r--r--generic/regc_locale.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/regc_locale.c b/generic/regc_locale.c
index b5a44c4..98df798 100644
--- a/generic/regc_locale.c
+++ b/generic/regc_locale.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: regc_locale.c,v 1.20 2007/12/13 15:23:14 dgp Exp $
+ * RCS: @(#) $Id: regc_locale.c,v 1.21 2008/10/16 22:34:18 nijtmans Exp $
*/
/* ASCII character-name table */
@@ -790,14 +790,14 @@ cclass(
struct cvec *cv = NULL;
Tcl_DString ds;
const char *np;
- const char **namePtr;
+ const char *const *namePtr;
int i, index;
/*
* The following arrays define the valid character class names.
*/
- static const char *classNames[] = {
+ static const char *const classNames[] = {
"alnum", "alpha", "ascii", "blank", "cntrl", "digit", "graph",
"lower", "print", "punct", "space", "upper", "xdigit", NULL
};