diff options
author | nijtmans <nijtmans> | 2009-02-10 22:49:42 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-02-10 22:49:42 (GMT) |
commit | b07274fff759a29a06f8c988c019d09d583fe435 (patch) | |
tree | ca3baf5495ef51e4e0ad8aa5ed4221b784f68ae6 /generic/tclRegexp.c | |
parent | 9968eece0a412b8035a5437db0e8c52723c94e7f (diff) | |
download | tcl-b07274fff759a29a06f8c988c019d09d583fe435.zip tcl-b07274fff759a29a06f8c988c019d09d583fe435.tar.gz tcl-b07274fff759a29a06f8c988c019d09d583fe435.tar.bz2 |
- eliminate some unnessary type casts
- some internal const decorations
- spacing
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r-- | generic/tclRegexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c index 4748e58..d0505e0 100644 --- a/generic/tclRegexp.c +++ b/generic/tclRegexp.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclRegexp.c,v 1.30 2008/10/15 06:17:04 nijtmans Exp $ + * RCS: @(#) $Id: tclRegexp.c,v 1.31 2009/02/10 22:49:54 nijtmans Exp $ */ #include "tclInt.h" @@ -573,7 +573,7 @@ Tcl_GetRegExpFromObj( { int length; TclRegexp *regexpPtr; - char *pattern; + const char *pattern; /* * This is OK because we only actually interpret this value properly as a |