mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
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:
parent
47834463d0
commit
64b4f2770e
4 changed files with 4 additions and 6 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue