summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 19:51:43 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-19 19:51:43 (GMT)
commit534ac094f9d63ba1cae95c99fba2c532f8eb31fb (patch)
tree5c120bac648a2485a9567a548c1d7a9c1313882a
parent57d8e3f1c7207926cab62b45be35bc44d33f00da (diff)
downloadcpython-534ac094f9d63ba1cae95c99fba2c532f8eb31fb.zip
cpython-534ac094f9d63ba1cae95c99fba2c532f8eb31fb.tar.gz
cpython-534ac094f9d63ba1cae95c99fba2c532f8eb31fb.tar.bz2
Removed a bunch of extern declarations of functions that are now
properly declared in Python.h.
-rw-r--r--Modules/main.c6
-rw-r--r--Python/sysmodule.c7
2 files changed, 0 insertions, 13 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 801804b..5abf2a6 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -47,12 +47,6 @@ extern char *optarg;
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() */
static char **orig_argv;
static int orig_argc;
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 3f9fc05..da40438 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -274,13 +274,6 @@ list_builtin_module_names()
void
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 *));
PyObject *m = Py_InitModule("sys", sys_methods);
PyObject *v;