summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-24 19:01:39 (GMT)
committerGitHub <noreply@github.com>2021-11-24 19:01:39 (GMT)
commit5c4b19ec49a5fbad65a682225f7cfed8b78f2a2f (patch)
tree35fbd1e1a2322dff1b39554fd0d5220761cf824a /Python/import.c
parentabfc794bbf2c6a0939ddd81b6e700c46944ba87a (diff)
downloadcpython-5c4b19ec49a5fbad65a682225f7cfed8b78f2a2f.zip
cpython-5c4b19ec49a5fbad65a682225f7cfed8b78f2a2f.tar.gz
cpython-5c4b19ec49a5fbad65a682225f7cfed8b78f2a2f.tar.bz2
bpo-45020: Fix strict-prototypes warning (GH-29755)
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 225fbf4..51b779c 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -1087,7 +1087,7 @@ use_frozen(void)
}
static PyObject *
-list_frozen_module_names()
+list_frozen_module_names(void)
{
PyObject *names = PyList_New(0);
if (names == NULL) {