From 620f37723ffe02f7b550aaf8386fcd62f30f6db1 Mon Sep 17 00:00:00 2001 From: Fredrik Lundh Date: Sun, 9 Jul 2000 20:42:34 +0000 Subject: [PATCH] - changed 1.5 to 2.0 in the help text (the PYTHONHOMEHELP define) - ANSI-fication (patch #100794 by Peter Schneider-Kamp) --- Modules/main.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Modules/main.c b/Modules/main.c index 90a3961fef..34e99b9de6 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -24,7 +24,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. #if defined(PYOS_OS2) || defined(MS_WINDOWS) #define PYTHONHOMEHELP "\\lib" #else -#define PYTHONHOMEHELP "/python1.5" +#define PYTHONHOMEHELP "/python2.0" #endif /* Interface to getopt(): */ @@ -75,9 +75,7 @@ PYTHONHOME : alternate directory (or %c).\n\ /* Main program */ DL_EXPORT(int) -Py_Main(argc, argv) - int argc; - char **argv; +Py_Main(int argc, char **argv) { int c; int sts; @@ -290,9 +288,7 @@ Py_Main(argc, argv) This is rare, but it is needed by the secureware extension. */ void -Py_GetArgcArgv(argc, argv) - int *argc; - char ***argv; +Py_GetArgcArgv(int *argc, char ***argv) { *argc = orig_argc; *argv = orig_argv; -- 2.40.0