diff options
| author | Guido van Rossum <guido@python.org> | 1997-05-07 23:51:07 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-05-07 23:51:07 +0000 |
| commit | a691bec23a8d1a85b97d0b4911970cf98df7c4e2 (patch) | |
| tree | b393dfa7e7b572b6ca5c29853e308d7234d04250 /Python/mystrtoul.c | |
| parent | e3473bc734d69e42a2787bbd8a66db9bfd5e9356 (diff) | |
| download | cpython-a691bec23a8d1a85b97d0b4911970cf98df7c4e2.tar.gz | |
Oops, missed some renamings.
Diffstat (limited to 'Python/mystrtoul.c')
| -rw-r--r-- | Python/mystrtoul.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index ed0e52648d..6f8e9bd049 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c @@ -39,8 +39,6 @@ PERFORMANCE OF THIS SOFTWARE. #define Py_CHARMASK(c) ((c) & 0xff) #endif -#include "rename2.h" - /* strtol and strtoul, renamed to avoid conflicts */ /* @@ -61,7 +59,7 @@ PERFORMANCE OF THIS SOFTWARE. #include <errno.h> unsigned long -mystrtoul(str, ptr, base) +PyOS_strtoul(str, ptr, base) register char * str; char ** ptr; int base; @@ -148,7 +146,7 @@ int base; } long -mystrtol(str, ptr, base) +PyOS_strtol(str, ptr, base) char * str; char ** ptr; int base; @@ -163,7 +161,7 @@ int base; if (sign == '+' || sign == '-') str++; - result = (long) mystrtoul(str, ptr, base); + result = (long) PyOS_strtoul(str, ptr, base); /* Signal overflow if the result appears negative, except for the largest negative integer */ |
