summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2023-05-29 08:31:03 (GMT)
committerGitHub <noreply@github.com>2023-05-29 08:31:03 (GMT)
commite92ac0a741b125f1cffe8c07b054d1dea7b0a05a (patch)
treebbe1d62c1ae22d1662e5b067cdfee9baa2a154b3 /Objects/unicodeobject.c
parent595ffddb33e95d8fa11999ddb873d08e3565d2eb (diff)
downloadcpython-e92ac0a741b125f1cffe8c07b054d1dea7b0a05a.zip
cpython-e92ac0a741b125f1cffe8c07b054d1dea7b0a05a.tar.gz
cpython-e92ac0a741b125f1cffe8c07b054d1dea7b0a05a.tar.bz2
Fix compiler warning in unicodeobject.c (#105050)
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index ec5684b..6f25f91 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -236,7 +236,7 @@ static inline PyObject *get_interned_dict(PyInterpreterState *interp)
}
Py_ssize_t
-_PyUnicode_InternedSize()
+_PyUnicode_InternedSize(void)
{
return PyObject_Length(get_interned_dict(_PyInterpreterState_GET()));
}