summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-08-19 11:18:24 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-08-19 11:18:24 (GMT)
commit76ceece75a9e27973de8fe15cbdba89da8398641 (patch)
treef35b5a9ea67fb9f62447f026bb871241e9e65346 /Mac/Python
parent9ff06cea7f120df18bbee2f7a19289fae5fca069 (diff)
downloadcpython-76ceece75a9e27973de8fe15cbdba89da8398641.zip
cpython-76ceece75a9e27973de8fe15cbdba89da8398641.tar.gz
cpython-76ceece75a9e27973de8fe15cbdba89da8398641.tar.bz2
Guido: added some void's to declarations
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macmain.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 5e78cdd..7241539 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -69,6 +69,9 @@ static int orig_argc;
static int keep_normal;
static int keep_error = 1;
+static void Py_Main Py_PROTO((int, char **)); /* Forward */
+void PyMac_Exit Py_PROTO((int)); /* Forward */
+
/* Initialize the Mac toolbox world */
static void
@@ -301,7 +304,7 @@ PyMac_InteractiveOptions(int *inspect, int *verbose, int *suppress_print,
}
/* Main program */
-int
+static void
Py_Main(argc, argv)
int argc;
char **argv;
@@ -374,6 +377,7 @@ Py_Main(argc, argv)
/*
** Terminate application
*/
+void
PyMac_Exit(status)
int status;
{