From: Fredrik Lundh Date: Sun, 9 Jul 2000 20:42:34 +0000 (+0000) Subject: - changed 1.5 to 2.0 in the help text X-Git-Tag: v2.0b1~949 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=620f37723ffe02f7b550aaf8386fcd62f30f6db1;p=thirdparty%2FPython%2Fcpython.git - changed 1.5 to 2.0 in the help text (the PYTHONHOMEHELP define) - ANSI-fication (patch #100794 by Peter Schneider-Kamp) --- diff --git a/Modules/main.c b/Modules/main.c index 90a3961fef87..34e99b9de6b3 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;