[Python-checkins] python/dist/src/Modules gcmodule.c,2.51,2.52

mwh@users.sourceforge.net mwh@users.sourceforge.net
Thu, 04 Jul 2002 10:11:38 -0700


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

Modified Files:
	gcmodule.c 
Log Message:
gc_list_move defined but not used.



Index: gcmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/gcmodule.c,v
retrieving revision 2.51
retrieving revision 2.52
diff -C2 -d -r2.51 -r2.52
*** gcmodule.c	2 Jul 2002 22:15:28 -0000	2.51
--- gcmodule.c	4 Jul 2002 17:11:36 -0000	2.52
***************
*** 156,174 ****
  }
  
- static void
- gc_list_move(PyGC_Head *from, PyGC_Head *to)
- {
- 	if (gc_list_is_empty(from)) {
- 		gc_list_init(to);
- 	}
- 	else {
- 		to->gc.gc_next = from->gc.gc_next;
- 		to->gc.gc_next->gc.gc_prev = to;
- 		to->gc.gc_prev = from->gc.gc_prev;
- 		to->gc.gc_prev->gc.gc_next = to;
- 	}
- 	gc_list_init(from);
- }
- 
  /* append a list onto another list, from becomes an empty list */
  static void
--- 156,159 ----