summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-07-09 20:42:34 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-07-09 20:42:34 (GMT)
commit620f37723ffe02f7b550aaf8386fcd62f30f6db1 (patch)
tree24191a97d56ae70058a55351f8a3842d9edd2752
parentfaa209d6bdcbaae93e2c0ed449590deee4f91e23 (diff)
downloadcpython-620f37723ffe02f7b550aaf8386fcd62f30f6db1.zip
cpython-620f37723ffe02f7b550aaf8386fcd62f30f6db1.tar.gz
cpython-620f37723ffe02f7b550aaf8386fcd62f30f6db1.tar.bz2
- changed 1.5 to 2.0 in the help text
(the PYTHONHOMEHELP define) - ANSI-fication (patch #100794 by Peter Schneider-Kamp)
-rw-r--r--Modules/main.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 90a3961..34e99b9 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 "<prefix>\\lib"
#else
-#define PYTHONHOMEHELP "<prefix>/python1.5"
+#define PYTHONHOMEHELP "<prefix>/python2.0"
#endif
/* Interface to getopt(): */
@@ -75,9 +75,7 @@ PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).\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;