summaryrefslogtreecommitdiffstats
path: root/compat/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/strtol.c')
-rw-r--r--compat/strtol.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/compat/strtol.c b/compat/strtol.c
index 3779597..b111d97 100644
--- a/compat/strtol.c
+++ b/compat/strtol.c
@@ -8,11 +8,8 @@
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
- *
- * RCS: @(#) $Id: strtol.c,v 1.6 2007/04/16 13:36:34 dkf Exp $
*/
-#include <ctype.h>
#include "tclInt.h"
/*
@@ -36,7 +33,7 @@
long int
strtol(
- CONST char *string, /* String of ASCII digits, possibly preceded
+ const char *string, /* String of ASCII digits, possibly preceded
* by white space. For bases greater than 10,
* either lower- or upper-case digits may be
* used. */
@@ -48,7 +45,7 @@ strtol(
* hex, "0" means octal, anything else means
* decimal. */
{
- register CONST char *p;
+ register const char *p;
long result;
/*