diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-14 06:42:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-14 06:42:58 (GMT) |
commit | c9376306301e578615cfee52d2121f78cb31a225 (patch) | |
tree | b80d507267bc38923d21ef904af4a227e2f4909d /compat/strtoul.c | |
parent | 343b0349d4d4b41ca86832298dead909b1ef055d (diff) | |
download | tcl-c9376306301e578615cfee52d2121f78cb31a225.zip tcl-c9376306301e578615cfee52d2121f78cb31a225.tar.gz tcl-c9376306301e578615cfee52d2121f78cb31a225.tar.bz2 |
Remove "register" keyword in various places. Also add some type-casts to help C++ compatibility.
Diffstat (limited to 'compat/strtoul.c')
-rw-r--r-- | compat/strtoul.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/strtoul.c b/compat/strtoul.c index e37eb05..bf16f7a 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; |