Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macmain.c @ 3750:a22438e94fe9 legacy-trunk
Old names changed to Py_GetCopyright, etc.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Wed, 10 Jul 1996 15:48:25 +0000 |
| parents | a4f01d43dad6 |
| children | 52c19ee83a6b |
line wrap: on
line diff
--- a/Mac/Python/macmain.c Wed Jul 10 15:47:19 1996 +0000 +++ b/Mac/Python/macmain.c Wed Jul 10 15:48:25 1996 +0000 @@ -54,8 +54,8 @@ /* Subroutines that live in their own file */ -extern char *getversion Py_PROTO((void)); -extern char *getcopyright Py_PROTO((void)); +extern char *Py_GetVersion Py_PROTO((void)); +extern char *Py_GetCopyright Py_PROTO((void)); /* For getprogramname(); set by main() */ @@ -336,7 +336,7 @@ if (Py_VerboseFlag || command == NULL && filename == NULL && isatty((int)fileno(fp))) fprintf(stderr, "Python %s\n%s\n", - getversion(), getcopyright()); + Py_GetVersion(), Py_GetCopyright()); if (filename != NULL) { if ((fp = fopen(filename, "r")) == NULL) {
