diff options
author | nijtmans <nijtmans> | 2008-10-04 11:34:19 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-04 11:34:19 (GMT) |
commit | cf24f0cc5f58ca91c49d46e631feeaf536162fb0 (patch) | |
tree | d1a4fd536b1f555cbb9dd514c151884c46c26c26 /generic/tclConfig.c | |
parent | 67aa8715c3ab84a6c636b90a48b5a565c1dcc162 (diff) | |
download | tcl-cf24f0cc5f58ca91c49d46e631feeaf536162fb0.zip tcl-cf24f0cc5f58ca91c49d46e631feeaf536162fb0.tar.gz tcl-cf24f0cc5f58ca91c49d46e631feeaf536162fb0.tar.bz2 |
* doc/RegConfig.3: CONSTified the configuration argument
* generic/tcl.decls: of Tcl_RegisterConfig.
* generic/tclConfig.c
* generic/tclPkgConfig.c
* ChangeLog
* generic/tclDecls.h: regenerated
This change complies with TIP #27.
Diffstat (limited to 'generic/tclConfig.c')
-rw-r--r-- | generic/tclConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c index e0ee15a..2380430 100644 --- a/generic/tclConfig.c +++ b/generic/tclConfig.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: tclConfig.c,v 1.22 2008/08/07 22:29:09 nijtmans Exp $ + * RCS: @(#) $Id: tclConfig.c,v 1.23 2008/10/04 11:34:19 nijtmans Exp $ */ #include "tclInt.h" @@ -73,7 +73,7 @@ Tcl_RegisterConfig( const char *pkgName, /* Name of the package registering the * embedded configuration. ASCII, thus in * UTF-8 too. */ - Tcl_Config *configuration, /* Embedded configuration. */ + const Tcl_Config *configuration, /* Embedded configuration. */ const char *valEncoding) /* Name of the encoding used to store the * configuration values, ASCII, thus UTF-8. */ { |