diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-07-10 15:48:25 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-07-10 15:48:25 (GMT) |
commit | a547dcaff09fa530871a0405b146c6bf958b48b4 (patch) | |
tree | e12796b7b8950810e4c741f373ef50fbe9c36474 /Mac/Python | |
parent | 84d0bfcbe06a5d8e8a019e786e1302e71c8e2ca0 (diff) | |
download | cpython-a547dcaff09fa530871a0405b146c6bf958b48b4.zip cpython-a547dcaff09fa530871a0405b146c6bf958b48b4.tar.gz cpython-a547dcaff09fa530871a0405b146c6bf958b48b4.tar.bz2 |
Old names changed to Py_GetCopyright, etc.
Diffstat (limited to 'Mac/Python')
-rw-r--r-- | Mac/Python/macgetcompiler.c | 2 | ||||
-rw-r--r-- | Mac/Python/macgetpath.c | 2 | ||||
-rw-r--r-- | Mac/Python/macgetplatform.c | 2 | ||||
-rw-r--r-- | Mac/Python/macmain.c | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Python/macgetcompiler.c b/Mac/Python/macgetcompiler.c index d93172b..15dba4b 100644 --- a/Mac/Python/macgetcompiler.c +++ b/Mac/Python/macgetcompiler.c @@ -30,7 +30,7 @@ #endif char * -getcompiler() +Py_GetCompiler() { return COMPILER; } diff --git a/Mac/Python/macgetpath.c b/Mac/Python/macgetpath.c index 4bdab5c..40dd6c1 100644 --- a/Mac/Python/macgetpath.c +++ b/Mac/Python/macgetpath.c @@ -32,7 +32,7 @@ char * -getpythonpath() +Py_GetPath() { /* Modified by Jack to do something a bit more sensible: ** - Prepend the python home-directory (which is obtained from a Preferences diff --git a/Mac/Python/macgetplatform.c b/Mac/Python/macgetplatform.c index a454214..4442ea2 100644 --- a/Mac/Python/macgetplatform.c +++ b/Mac/Python/macgetplatform.c @@ -1,6 +1,6 @@ char * -getplatform() +Py_GetPlatform() { return "mac"; } diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 8d3fe28..0057309 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -54,8 +54,8 @@ extern int Py_SuppressPrintingFlag; /* For ceval.c, declared in pythonrun.c */ /* 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 @@ Py_Main(argc, argv) 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) { |