diff options
author | Guido van Rossum <guido@python.org> | 1995-08-04 04:10:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-04 04:10:43 (GMT) |
commit | 47ad5e7d812c60dd755e6762f17ec8e0760be4af (patch) | |
tree | 21e9d1f5de59c6007db94d6660113571c7ef6351 /Python | |
parent | 6ec1efb645d1c98d0892904bb1bf3d09628555d6 (diff) | |
download | cpython-47ad5e7d812c60dd755e6762f17ec8e0760be4af.zip cpython-47ad5e7d812c60dd755e6762f17ec8e0760be4af.tar.gz cpython-47ad5e7d812c60dd755e6762f17ec8e0760be4af.tar.bz2 |
moved stuff around to resemble main.c
Diffstat (limited to 'Python')
-rw-r--r-- | Python/frozenmain.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index 5ad46d7..15e6144 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -26,17 +26,20 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #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 *getcopyright(); -extern int Py_DebugFlag; -extern int Py_VerboseFlag; -extern int Py_SuppressPrintingFlag; - +/* For getprogramname(); set by main() */ static char *argv0; +/* Main program */ + +int main(argc, argv) int argc; char **argv; |