summaryrefslogtreecommitdiffstats
path: root/generic/tclGet.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2008-04-27 22:21:26 (GMT)
committerdkf <dkf@noemail.net>2008-04-27 22:21:26 (GMT)
commita6ee7f7e74b9345ae2cb9407865230327d0d576a (patch)
tree4e7b1367d8eb030241db8325caa541ce387b7313 /generic/tclGet.c
parent29b75f74f37139eb2b27dbcd0a6a1aa874c45517 (diff)
downloadtcl-a6ee7f7e74b9345ae2cb9407865230327d0d576a.zip
tcl-a6ee7f7e74b9345ae2cb9407865230327d0d576a.tar.gz
tcl-a6ee7f7e74b9345ae2cb9407865230327d0d576a.tar.bz2
Get rid of pre-C89-isms (esp. CONST vs const).
FossilOrigin-Name: 2d205c22fbe5def21ccd36bc6f7b2d3831f6122d
Diffstat (limited to 'generic/tclGet.c')
-rw-r--r--generic/tclGet.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclGet.c b/generic/tclGet.c
index ca93466..3dfe905 100644
--- a/generic/tclGet.c
+++ b/generic/tclGet.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: tclGet.c,v 1.20 2007/12/13 15:23:17 dgp Exp $
+ * RCS: @(#) $Id: tclGet.c,v 1.21 2008/04/27 22:21:30 dkf Exp $
*/
#include "tclInt.h"
@@ -38,7 +38,7 @@
int
Tcl_GetInt(
Tcl_Interp *interp, /* Interpreter to use for error reporting. */
- CONST char *src, /* String containing a (possibly signed)
+ const char *src, /* String containing a (possibly signed)
* integer in a form acceptable to strtoul. */
int *intPtr) /* Place to store converted result. */
{
@@ -82,7 +82,7 @@ int
TclGetLong(
Tcl_Interp *interp, /* Interpreter used for error reporting if not
* NULL. */
- CONST char *src, /* String containing a (possibly signed) long
+ const char *src, /* String containing a (possibly signed) long
* integer in a form acceptable to strtoul. */
long *longPtr) /* Place to store converted long result. */
{
@@ -124,7 +124,7 @@ TclGetLong(
int
Tcl_GetDouble(
Tcl_Interp *interp, /* Interpreter used for error reporting. */
- CONST char *src, /* String containing a floating-point number
+ const char *src, /* String containing a floating-point number
* in a form acceptable to strtod. */
double *doublePtr) /* Place to store converted result. */
{
@@ -166,7 +166,7 @@ Tcl_GetDouble(
int
Tcl_GetBoolean(
Tcl_Interp *interp, /* Interpreter used for error reporting. */
- CONST char *src, /* String containing a boolean number
+ const char *src, /* String containing a boolean number
* specified either as 1/0 or true/false or
* yes/no. */
int *boolPtr) /* Place to store converted result, which will