]> granicus.if.org Git - python/commitdiff
frozenmain.c is now also in the library,
authorGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 21:59:47 +0000 (21:59 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 21:59:47 +0000 (21:59 +0000)
with entry point Py_FrozenMain().

Python/Makefile.in
Python/frozenmain.c

index de28c230eb628c1d8121ef3963098ff887bbbe67..4a8361cbf0ab8e73c1e1f298950ab1a5908b4f34 100644 (file)
@@ -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 \
index d693401188a9167d3c266236b7873f67d0bde680..d5a398b0759b3f46e2fb6b37b817e8de4607d56a 100644 (file)
@@ -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;
 {