Skip to content

Commit 46e9705

Browse files
committed
Remove prototypes for PyOS_strto[u]l -- Chris Herborth.
1 parent ca90605 commit 46e9705

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

Modules/stropmodule.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,9 +725,6 @@ strop_atoi(self, args)
725725
PyObject *self; /* Not used */
726726
PyObject *args;
727727
{
728-
extern long PyOS_strtol Py_PROTO((const char *, char **, int));
729-
extern unsigned long
730-
PyOS_strtoul Py_PROTO((const char *, char **, int));
731728
char *s, *end;
732729
int base = 10;
733730
long x;

Python/compile.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,9 +816,6 @@ parsenumber(co, s)
816816
struct compiling *co;
817817
char *s;
818818
{
819-
extern long PyOS_strtol Py_PROTO((const char *, char **, int));
820-
extern unsigned long PyOS_strtoul Py_PROTO((const char *,
821-
char **, int));
822819
extern double atof Py_PROTO((const char *));
823820
char *end;
824821
long x;

0 commit comments

Comments
 (0)