summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2002-09-24 12:53:32 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2002-09-24 12:53:32 (GMT)
commitc56cf03cd4aad778f247e5af34cd3fa53d7b7486 (patch)
tree8d1d95ce1f23411ccbc34e67f4f0aa76908519f8 /generic/tclCompile.c
parent71d7ee3c1a93ba17e1830c5796fec56f5d65e760 (diff)
downloadtcl-c56cf03cd4aad778f247e5af34cd3fa53d7b7486.zip
tcl-c56cf03cd4aad778f247e5af34cd3fa53d7b7486.tar.gz
tcl-c56cf03cd4aad778f247e5af34cd3fa53d7b7486.tar.bz2
Removing more CONST-related warnings.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c6
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) {