]> granicus.if.org Git - python/commitdiff
Old names changed to Py_GetCopyright, etc.
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 10 Jul 1996 15:48:25 +0000 (15:48 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 10 Jul 1996 15:48:25 +0000 (15:48 +0000)
Mac/Python/macgetcompiler.c
Mac/Python/macgetpath.c
Mac/Python/macgetplatform.c
Mac/Python/macmain.c

index d93172b9305d5967eadf4b401ab3dfdb89029c95..15dba4b23312d800b1ab39c1aad7064a76dea7cb 100644 (file)
@@ -30,7 +30,7 @@
 #endif
 
 char *
-getcompiler()
+Py_GetCompiler()
 {
        return COMPILER;
 }
index 4bdab5c62b52948dbaa09fe8eead33e84238cb5c..40dd6c10d6393566636536904fec6a2604ec69c5 100644 (file)
@@ -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
index a4542143bc2dcccfc69569b6c63cf6f2e2625537..4442ea249f7049bdc439dec153c756d68127026b 100644 (file)
@@ -1,6 +1,6 @@
 
 char *
-getplatform()
+Py_GetPlatform()
 {
        return "mac";
 }
index 8d3fe282cbc414a22dba6a9097670c6aef161337..00573091a010806b7f002004a0bf7e0be31dc5da 100644 (file)
@@ -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) {