summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 21:59:47 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-19 21:59:47 (GMT)
commita94145118a41cc09807b85da7324778340a5ed35 (patch)
treec6d0384e1df4c959d085afc4eaab8c809c1625d3
parentb3afce576362ee5004817f48827c6677b87079b6 (diff)
downloadcpython-a94145118a41cc09807b85da7324778340a5ed35.zip
cpython-a94145118a41cc09807b85da7324778340a5ed35.tar.gz
cpython-a94145118a41cc09807b85da7324778340a5ed35.tar.bz2
frozenmain.c is now also in the library,
with entry point Py_FrozenMain().
-rw-r--r--Python/Makefile.in2
-rw-r--r--Python/frozenmain.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/Python/Makefile.in b/Python/Makefile.in
index de28c23..4a8361c 100644
--- a/Python/Makefile.in
+++ b/Python/Makefile.in
@@ -38,7 +38,7 @@ OBJS= \
bltinmodule.o \
ceval.o compile.o \
errors.o \
- frozen.o \
+ frozen.o frozenmain.o \
getargs.o getcompiler.o getcopyright.o getmtime.o \
getplatform.o getversion.o graminit.o \
import.o importdl.o \
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index d693401..d5a398b 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -33,14 +33,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
-/* Subroutines that live in their own file */
-extern char *Py_GetVersion();
-extern char *Py_GetCopyright();
-
/* Main program */
int
-main(argc, argv)
+Py_FrozenMain(argc, argv)
int argc;
char **argv;
{