diff options
Diffstat (limited to 'compat/strtoul.c')
| -rw-r--r-- | compat/strtoul.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/strtoul.c b/compat/strtoul.c index e37eb05..af63036 100644 --- a/compat/strtoul.c +++ b/compat/strtoul.c @@ -62,9 +62,9 @@ strtoul( * hex, "0" means octal, anything else means * decimal. */ { - register const char *p; - register unsigned long int result = 0; - register unsigned digit; + const char *p; + unsigned long int result = 0; + unsigned digit; int anyDigits = 0; int negative=0; int overflow=0; @@ -74,7 +74,7 @@ strtoul( */ p = string; - while (TclIsSpaceProc(*p)) { + while (isspace(UCHAR(*p))) { p += 1; } if (*p == '-') { |
