diff options
author | Christian Heimes <christian@python.org> | 2021-11-24 19:01:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 19:01:39 (GMT) |
commit | 5c4b19ec49a5fbad65a682225f7cfed8b78f2a2f (patch) | |
tree | 35fbd1e1a2322dff1b39554fd0d5220761cf824a /Tools | |
parent | abfc794bbf2c6a0939ddd81b6e700c46944ba87a (diff) | |
download | cpython-5c4b19ec49a5fbad65a682225f7cfed8b78f2a2f.zip cpython-5c4b19ec49a5fbad65a682225f7cfed8b78f2a2f.tar.gz cpython-5c4b19ec49a5fbad65a682225f7cfed8b78f2a2f.tar.bz2 |
bpo-45020: Fix strict-prototypes warning (GH-29755)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/scripts/deepfreeze.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/deepfreeze.py b/Tools/scripts/deepfreeze.py index e51a408..46776c7 100644 --- a/Tools/scripts/deepfreeze.py +++ b/Tools/scripts/deepfreeze.py @@ -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__) |