[Python-checkins] python/dist/src/Objects listobject.c,2.115,2.116
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Fri, 12 Jul 2002 20:51:21 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv32107
Modified Files:
listobject.c
Log Message:
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.
Index: listobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/listobject.c,v
retrieving revision 2.115
retrieving revision 2.116
diff -C2 -d -r2.115 -r2.116
*** listobject.c 11 Jul 2002 21:46:16 -0000 2.115
--- listobject.c 13 Jul 2002 03:51:17 -0000 2.116
***************
*** 1685,1691 ****
"list(sequence) -> new list initialized from sequence's items");
! staticforward PyObject * list_iter(PyObject *seq);
! static PyObject*
list_subscript(PyListObject* self, PyObject* item)
{
--- 1685,1691 ----
"list(sequence) -> new list initialized from sequence's items");
! static PyObject *list_iter(PyObject *seq);
! static PyObject *
list_subscript(PyListObject* self, PyObject* item)
{