Kaydet (Commit) 620f3772 authored tarafından Fredrik Lundh's avatar Fredrik Lundh

- changed 1.5 to 2.0 in the help text

  (the PYTHONHOMEHELP define)

- ANSI-fication
  (patch #100794 by Peter Schneider-Kamp)
üst faa209d6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment