[Python-checkins] CVS: python/dist/src/Python compile.c,2.195,2.196 exceptions.c,1.22,1.23

Guido van Rossum gvanrossum@users.sourceforge.net
Sat, 14 Apr 2001 10:51:50 -0700


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

Modified Files:
	compile.c exceptions.c 
Log Message:
Make some private symbols static.

Index: compile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v
retrieving revision 2.195
retrieving revision 2.196
diff -C2 -r2.195 -r2.196
*** compile.c	2001/04/09 16:07:59	2.195
--- compile.c	2001/04/14 17:51:48	2.196
***************
*** 375,379 ****
  };
  
! int is_free(int v)
  {
  	if ((v & (USE | DEF_FREE))
--- 375,380 ----
  };
  
! static int
! is_free(int v)
  {
  	if ((v & (USE | DEF_FREE))

Index: exceptions.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/exceptions.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** exceptions.c	2001/02/28 21:52:10	1.22
--- exceptions.c	2001/04/14 17:51:48	1.23
***************
*** 421,425 ****
  
  
! PyMethodDef SystemExit_methods[] = {
      { "__init__", SystemExit__init__, METH_VARARGS},
      {NULL, NULL}
--- 421,425 ----
  
  
! static PyMethodDef SystemExit_methods[] = {
      { "__init__", SystemExit__init__, METH_VARARGS},
      {NULL, NULL}
***************
*** 837,841 ****
  
  
! PyMethodDef SyntaxError_methods[] = {
      {"__init__", SyntaxError__init__, METH_VARARGS},
      {"__str__",  SyntaxError__str__, METH_VARARGS},
--- 837,841 ----
  
  
! static PyMethodDef SyntaxError_methods[] = {
      {"__init__", SyntaxError__init__, METH_VARARGS},
      {"__str__",  SyntaxError__str__, METH_VARARGS},