[Python-checkins] CVS: python/dist/src/Objects typeobject.c,2.110,2.111

Neil Schemenauer nascheme@users.sourceforge.net
Sun, 21 Oct 2001 15:29:00 -0700


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

Modified Files:
	typeobject.c 
Log Message:
Add missing "static" declarations (found by "make smelly").


Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.110
retrieving revision 2.111
diff -C2 -d -r2.110 -r2.111
*** typeobject.c	2001/10/21 00:44:31	2.110
--- typeobject.c	2001/10/21 22:28:58	2.111
***************
*** 81,85 ****
  }
  
! PyGetSetDef type_getsets[] = {
  	{"__name__", (getter)type_name, NULL, NULL},
  	{"__module__", (getter)type_module, (setter)type_set_module, NULL},
--- 81,85 ----
  }
  
! static PyGetSetDef type_getsets[] = {
  	{"__name__", (getter)type_name, NULL, NULL},
  	{"__module__", (getter)type_module, (setter)type_set_module, NULL},
***************
*** 372,376 ****
     as lookup_method to cache the interned name string object. */
  
! PyObject *
  call_method(PyObject *o, char *name, PyObject **nameobj, char *format, ...)
  {
--- 372,376 ----
     as lookup_method to cache the interned name string object. */
  
! static PyObject *
  call_method(PyObject *o, char *name, PyObject **nameobj, char *format, ...)
  {
***************
*** 408,412 ****
  /* Clone of call_method() that returns NotImplemented when the lookup fails. */
  
! PyObject *
  call_maybe(PyObject *o, char *name, PyObject **nameobj, char *format, ...)
  {
--- 408,412 ----
  /* Clone of call_method() that returns NotImplemented when the lookup fails. */
  
! static PyObject *
  call_maybe(PyObject *o, char *name, PyObject **nameobj, char *format, ...)
  {
***************
*** 675,679 ****
  }
  
! PyGetSetDef subtype_getsets[] = {
  	{"__dict__", subtype_dict, NULL, NULL},
  	{0},
--- 675,679 ----
  }
  
! static PyGetSetDef subtype_getsets[] = {
  	{"__dict__", subtype_dict, NULL, NULL},
  	{0},