From a4b4c3bf0533a92a8cd7e45e667b95980f1f0c96 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Sat, 13 Jul 2002 03:51:17 +0000 Subject: [PATCH] Don't declare a function with staticforward. Just declare it static so that lame (BAD_STATIC_FORWARD) compilers don't see a mismatch between the prototype and the function. --- Objects/listobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/listobject.c b/Objects/listobject.c index 36aa7f3a66..dd2d5806dd 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -1684,9 +1684,9 @@ PyDoc_STRVAR(list_doc, "list() -> new list\n" "list(sequence) -> new list initialized from sequence's items"); -staticforward PyObject * list_iter(PyObject *seq); +static PyObject *list_iter(PyObject *seq); -static PyObject* +static PyObject * list_subscript(PyListObject* self, PyObject* item) { if (PyInt_Check(item)) { -- 2.50.1