From: Inada Naoki Date: Mon, 29 May 2023 08:31:03 +0000 (+0900) Subject: Fix compiler warning in unicodeobject.c (#105050) X-Git-Tag: v3.13.0a1~1989 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e92ac0a741b125f1cffe8c07b054d1dea7b0a05a;p=thirdparty%2FPython%2Fcpython.git Fix compiler warning in unicodeobject.c (#105050) --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index ec5684b1d095..6f25f91c0ff2 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())); }