diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-17 03:03:10 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-17 03:03:10 (GMT) |
commit | 2955a401d559c6249d4f2ad18a4c7b000df1a3de (patch) | |
tree | d3199c60f6666de3fc69c7f34d074408746ec7f2 /generic/regc_locale.c | |
parent | a47d47cbb35ee1acc2ecb44bb6b37631ce05d137 (diff) | |
download | tcl-2955a401d559c6249d4f2ad18a4c7b000df1a3de.zip tcl-2955a401d559c6249d4f2ad18a4c7b000df1a3de.tar.gz tcl-2955a401d559c6249d4f2ad18a4c7b000df1a3de.tar.bz2 |
* Updated APIs in generic/tclUtf.c and generic/tclRegexp.c according
to the guidelines of TIP 27. Updated callers.
Diffstat (limited to 'generic/regc_locale.c')
-rw-r--r-- | generic/regc_locale.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/regc_locale.c b/generic/regc_locale.c index 4af4724..06f553f 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.6 2001/05/28 04:45:43 hobbs Exp $ + * RCS: @(#) $Id: regc_locale.c,v 1.7 2002/01/17 03:03:10 dgp Exp $ */ /* ASCII character-name table */ @@ -567,7 +567,7 @@ chr *endp; /* points just past end of name */ struct cname *cn; size_t len; Tcl_DString ds; - char *np; + CONST char *np; /* generic: one-chr names stand for themselves */ assert(startp < endp); @@ -714,7 +714,8 @@ int cases; /* case-independent? */ size_t len; struct cvec *cv = NULL; Tcl_DString ds; - char *np, **namePtr; + CONST char *np; + char **namePtr; int i, index; /* |