getprogramname -> Py_GetProgramName.

This commit is contained in:
Guido van Rossum 1996-08-19 22:09:38 +00:00
parent 6d43c5de5a
commit 71bd363d9c
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern char *Py_GetVersion(); extern char *Py_GetVersion();
extern char *Py_GetCopyright(); extern char *Py_GetCopyright();
/* For getprogramname(); set by main() */ /* For Py_GetProgramName(); set by main() */
static char *argv0; static char *argv0;
/* Main program */ /* Main program */
@ -87,7 +87,7 @@ main(argc, argv)
} }
char * char *
getprogramname() Py_GetProgramName()
{ {
return argv0; return argv0;
} }