From: Jack Jansen Date: Mon, 19 Aug 1996 11:18:24 +0000 (+0000) Subject: Guido: added some void's to declarations X-Git-Tag: v1.4b3~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76ceece75a9e27973de8fe15cbdba89da8398641;p=thirdparty%2FPython%2Fcpython.git Guido: added some void's to declarations --- diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 5e78cdd2f506..7241539f1575 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; {