summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-05-29 09:05:42 (GMT)
committerGitHub <noreply@github.com>2023-05-29 09:05:42 (GMT)
commit5dc6b18cb0c83faab556b46bdcf96ce21880fa91 (patch)
tree1a8f96dc7a74031c4510d6d424554f2005741686
parent74bbc603e42d3b191358023811695d9fa4766076 (diff)
downloadcpython-5dc6b18cb0c83faab556b46bdcf96ce21880fa91.zip
cpython-5dc6b18cb0c83faab556b46bdcf96ce21880fa91.tar.gz
cpython-5dc6b18cb0c83faab556b46bdcf96ce21880fa91.tar.bz2
Fix compiler warning in unicodeobject.c (GH-105050)
Fix compiler warning in unicodeobject.c (GH-105050) (cherry picked from commit e92ac0a741b125f1cffe8c07b054d1dea7b0a05a) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
-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()));
}