Mercurial > cpython-lru_cache-weakref
diff Python/frozenmain.c @ 3621:f158edccc72c legacy-trunk
grand renaming; added copyright to some files
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 28 May 1996 22:30:17 +0000 |
| parents | 33b154b6c61b |
| children | 8a010dd4736e |
line wrap: on
line diff
--- a/Python/frozenmain.c Tue May 28 22:28:12 1996 +0000 +++ b/Python/frozenmain.c Tue May 28 22:30:17 1996 +0000 @@ -26,13 +26,9 @@ #include "Python.h" -extern int Py_DebugFlag; /* For parser.c, declared in pythonrun.c */ -extern int Py_VerboseFlag; /* For import.c, declared in pythonrun.c */ -extern int Py_SuppressPrintingFlag; /* For ceval.c, declared in pythonrun.c */ - /* Subroutines that live in their own file */ -extern char *getversion(); -extern char *getcopyright(); +extern char *Py_GetVersion(); +extern char *Py_GetCopyright(); /* For getprogramname(); set by main() */ static char *argv0; @@ -69,7 +65,7 @@ if (Py_VerboseFlag) fprintf(stderr, "Python %s\n%s\n", - getversion(), getcopyright()); + Py_GetVersion(), Py_GetCopyright()); Py_Initialize(); PySys_SetArgv(argc, argv);
