]> granicus.if.org Git - python/commitdiff
Removed a bunch of extern declarations of functions that are now
authorGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:51:43 +0000 (19:51 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:51:43 +0000 (19:51 +0000)
properly declared in Python.h.

Modules/main.c
Python/sysmodule.c

index 801804bd4e000d818fe389fe4623b7e54c706bd6..5abf2a67a1e7cdc7bfe53d77b462655d43cb0fd5 100644 (file)
@@ -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;
index 3f9fc05a746a38b0bcf7f9e383b1e833217b63e4..da4043834952d6afe962b9589aec5d0c59fc26f6 100644 (file)
@@ -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;