mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
moved stuff around to resemble main.c
This commit is contained in:
parent
6ec1efb645
commit
47ad5e7d81
1 changed files with 8 additions and 5 deletions
|
@ -26,17 +26,20 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
|
|
||||||
extern char *getenv();
|
extern int Py_DebugFlag; /* For parser.c, declared in pythonrun.c */
|
||||||
|
extern int Py_VerboseFlag; /* For import.c, declared in pythonrun.c */
|
||||||
|
extern int Py_SuppressPrintingFlag; /* For ceval.c, declared in pythonrun.c */
|
||||||
|
|
||||||
|
/* Subroutines that live in their own file */
|
||||||
extern char *getversion();
|
extern char *getversion();
|
||||||
extern char *getcopyright();
|
extern char *getcopyright();
|
||||||
|
|
||||||
extern int Py_DebugFlag;
|
/* For getprogramname(); set by main() */
|
||||||
extern int Py_VerboseFlag;
|
|
||||||
extern int Py_SuppressPrintingFlag;
|
|
||||||
|
|
||||||
static char *argv0;
|
static char *argv0;
|
||||||
|
|
||||||
|
/* Main program */
|
||||||
|
|
||||||
|
int
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue