Updated freeze.py to the new Makefile symbol layout.

Fixed a few compiler warnings.

freeze.py now produces binaries which can import shared
modules (unlike before).
This commit is contained in:
Marc-André Lemburg 2002-04-04 16:15:41 +00:00
parent 47834463d0
commit 64b4f2770e
4 changed files with 4 additions and 6 deletions

View file

@ -19,7 +19,7 @@ def makeconfig(infp, outfp, modules, with_ifdef=0):
continue
if with_ifdef:
outfp.write("#ifndef init%s\n"%mod)
outfp.write('extern void init%s();\n' % mod)
outfp.write('extern void init%s(void);\n' % mod)
if with_ifdef:
outfp.write("#endif\n")
elif m2 and m2.search(line):