Removed a bunch of extern declarations of functions that are now
properly declared in Python.h.
This commit is contained in:
parent
57d8e3f1c7
commit
534ac094f9
|
@ -47,12 +47,6 @@ extern char *optarg;
|
||||||
extern int getopt(); /* PROTO((int, char **, char *)); -- not standardized */
|
extern int getopt(); /* PROTO((int, char **, char *)); -- not standardized */
|
||||||
|
|
||||||
|
|
||||||
/* Subroutines that live in their own file */
|
|
||||||
extern char *Py_GetVersion();
|
|
||||||
extern char *Py_GetPlatform();
|
|
||||||
extern char *Py_GetCopyright();
|
|
||||||
|
|
||||||
|
|
||||||
/* For Py_GetArgcArgv(); set by main() */
|
/* For Py_GetArgcArgv(); set by main() */
|
||||||
static char **orig_argv;
|
static char **orig_argv;
|
||||||
static int orig_argc;
|
static int orig_argc;
|
||||||
|
|
|
@ -274,13 +274,6 @@ list_builtin_module_names()
|
||||||
void
|
void
|
||||||
PySys_Init()
|
PySys_Init()
|
||||||
{
|
{
|
||||||
extern long PyInt_GetMax Py_PROTO((void));
|
|
||||||
extern char *Py_GetVersion Py_PROTO((void));
|
|
||||||
extern char *Py_GetCopyright Py_PROTO((void));
|
|
||||||
extern char *Py_GetPlatform Py_PROTO((void));
|
|
||||||
extern char *Py_GetProgramFullPath Py_PROTO((void));
|
|
||||||
extern char *Py_GetPrefix Py_PROTO((void));
|
|
||||||
extern char *Py_GetExecPrefix Py_PROTO((void));
|
|
||||||
extern int fclose Py_PROTO((FILE *));
|
extern int fclose Py_PROTO((FILE *));
|
||||||
PyObject *m = Py_InitModule("sys", sys_methods);
|
PyObject *m = Py_InitModule("sys", sys_methods);
|
||||||
PyObject *v;
|
PyObject *v;
|
||||||
|
|
Loading…
Reference in New Issue