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.
This commit is contained in:
Jeremy Hylton 2002-07-13 03:51:17 +00:00
parent 346386fedc
commit a4b4c3bf05
1 changed files with 2 additions and 2 deletions

View File

@ -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)) {