mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-45020: Fix strict-prototypes warning (GH-29755)
This commit is contained in:
parent
abfc794bbf
commit
5c4b19ec49
2 changed files with 2 additions and 2 deletions
|
@ -417,7 +417,7 @@ def generate(source: str, filename: str, modname: str, file: TextIO) -> None:
|
|||
printer = Printer(file)
|
||||
printer.generate("toplevel", code)
|
||||
printer.write("")
|
||||
with printer.block("static void do_patchups()"):
|
||||
with printer.block("static void do_patchups(void)"):
|
||||
for p in printer.patchups:
|
||||
printer.write(p)
|
||||
here = os.path.dirname(__file__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue