[Python-checkins] CVS: python/dist/src/Objects listobject.c,2.69.2.4,2.69.2.5

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 23 Feb 2001 07:42:58 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv1788

Modified Files:
      Tag: cnri-16-start
	listobject.c 
Log Message:
Duh.  Shouldn't use ANSI C prototypes in 1.6.1.


Index: listobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/listobject.c,v
retrieving revision 2.69.2.4
retrieving revision 2.69.2.5
diff -C2 -r2.69.2.4 -r2.69.2.5
*** listobject.c	2001/02/12 21:53:46	2.69.2.4
--- listobject.c	2001/02/23 15:42:56	2.69.2.5
***************
*** 1255,1259 ****
  
  static void
! _listreverse(PyListObject *self)
  {
  	register PyObject **p, **q;
--- 1255,1260 ----
  
  static void
! _listreverse(self)
! 	PyListObject *self;
  {
  	register PyObject **p, **q;
***************
*** 1273,1277 ****
  
  static PyObject *
! listreverse(PyListObject *self, PyObject *args)
  {
  	if (!PyArg_ParseTuple(args, ":reverse"))
--- 1274,1280 ----
  
  static PyObject *
! listreverse(self, args)
! 	PyListObject *self;
! 	PyObject *args;
  {
  	if (!PyArg_ParseTuple(args, ":reverse"))
***************
*** 1283,1287 ****
  
  int
! PyList_Reverse(PyObject *v)
  {
  	if (v == NULL || !PyList_Check(v)) {
--- 1286,1291 ----
  
  int
! PyList_Reverse(v)
! 	PyObject *v;
  {
  	if (v == NULL || !PyList_Check(v)) {