diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-13 03:51:17 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-13 03:51:17 (GMT) |
commit | a4b4c3bf0533a92a8cd7e45e667b95980f1f0c96 (patch) | |
tree | aa4f42b0d34e4efa4ed1aa1e47075b24e4bc307d | |
parent | 346386fedc4ed41f1c748ff83c7dd686cefda2f5 (diff) | |
download | cpython-a4b4c3bf0533a92a8cd7e45e667b95980f1f0c96.zip cpython-a4b4c3bf0533a92a8cd7e45e667b95980f1f0c96.tar.gz cpython-a4b4c3bf0533a92a8cd7e45e667b95980f1f0c96.tar.bz2 |
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.
-rw-r--r-- | Objects/listobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index 36aa7f3..dd2d580 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)) { |