diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2002-09-24 12:53:32 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2002-09-24 12:53:32 (GMT) |
commit | eecec49335f0d2337be70d531e45388e516a3553 (patch) | |
tree | 8d1d95ce1f23411ccbc34e67f4f0aa76908519f8 /generic/tclCompile.c | |
parent | 12a1147d92f1b9f9f75f2340701430d18f970795 (diff) | |
download | tcl-eecec49335f0d2337be70d531e45388e516a3553.zip tcl-eecec49335f0d2337be70d531e45388e516a3553.tar.gz tcl-eecec49335f0d2337be70d531e45388e516a3553.tar.bz2 |
Removing more CONST-related warnings.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r-- | generic/tclCompile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 75f253e..c069d76 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.c,v 1.40 2002/08/05 03:24:40 dgp Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.41 2002/09/24 12:53:33 dkf Exp $ */ #include "tclInt.h" @@ -3334,10 +3334,10 @@ TclPrintObject(outFile, objPtr, maxChars) void TclPrintSource(outFile, string, maxChars) FILE *outFile; /* The file to print the source to. */ - char *string; /* The string to print. */ + CONST char *string; /* The string to print. */ int maxChars; /* Maximum number of chars to print. */ { - register char *p; + register CONST char *p; register int i = 0; if (string == NULL) { |