diff options
author | dgp <dgp@noemail.net> | 2002-01-17 03:03:10 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-01-17 03:03:10 (GMT) |
commit | f0abdf9b8f9092172d08b390156f98df2f135669 (patch) | |
tree | d3199c60f6666de3fc69c7f34d074408746ec7f2 /generic/regc_locale.c | |
parent | 82448aebf34f47ec026198087e95885beb9ef9f0 (diff) | |
download | tcl-f0abdf9b8f9092172d08b390156f98df2f135669.zip tcl-f0abdf9b8f9092172d08b390156f98df2f135669.tar.gz tcl-f0abdf9b8f9092172d08b390156f98df2f135669.tar.bz2 |
* Updated APIs in generic/tclUtf.c and generic/tclRegexp.c according
to the guidelines of TIP 27. Updated callers.
FossilOrigin-Name: 17ade1570084cb2d14c947ac65b1832f709d3bb6
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; /* |