From ace9d955b0329558005a88f5711de12e96b356c4 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 5 Aug 2002 14:13:31 +0000 Subject: [PATCH] Renamed Py_Main to PyMac_Main as it has a different signature than the "normal" Py_Main, and that signature has appeared in a .h file. --- Mac/Python/macmain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index c703cdcbf2f..9e5a3001383 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -86,7 +86,7 @@ int console_output_state = STATE_UNKNOWN; PyMac_PrefRecord PyMac_options; -static void Py_Main(int, char **, char *); /* Forward */ +static void PyMac_Main(int, char **, char *); /* Forward */ void PyMac_Exit(int); /* Forward */ /* Initialize the Mac toolbox world */ @@ -537,7 +537,7 @@ main(int argc, char **argv) } - Py_Main(argc, argv, script); + PyMac_Main(argc, argv, script); return 0; } @@ -580,14 +580,14 @@ PyMac_InitApplication(void) exit(0); } } - Py_Main(argc, argv, script); + PyMac_Main(argc, argv, script); } #endif /* TARGET_API_MAC_OSX */ /* Main program */ static void -Py_Main(int argc, char **argv, char *filename) +PyMac_Main(int argc, char **argv, char *filename) { int sts; char *command = NULL;