[Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.109,2.110 frameobject.c,2.47,2.48

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


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

Modified Files:
	fileobject.c frameobject.c 
Log Message:
Make some private symbols static.

Index: fileobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/fileobject.c,v
retrieving revision 2.109
retrieving revision 2.110
diff -C2 -r2.109 -r2.110
*** fileobject.c	2001/03/01 18:26:53	2.109
--- fileobject.c	2001/04/14 17:49:40	2.110
***************
*** 223,227 ****
  /* a portable fseek() function
     return 0 on success, non-zero on failure (with errno set) */
! int
  _portable_fseek(FILE *fp, Py_off_t offset, int whence)
  {
--- 223,227 ----
  /* a portable fseek() function
     return 0 on success, non-zero on failure (with errno set) */
! static int
  _portable_fseek(FILE *fp, Py_off_t offset, int whence)
  {
***************
*** 258,262 ****
     Return -1 on failure with errno set appropriately, current file
     position on success */
! Py_off_t
  _portable_ftell(FILE* fp)
  {
--- 258,262 ----
     Return -1 on failure with errno set appropriately, current file
     position on success */
! static Py_off_t
  _portable_ftell(FILE* fp)
  {

Index: frameobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/frameobject.c,v
retrieving revision 2.47
retrieving revision 2.48
diff -C2 -r2.47 -r2.48
*** frameobject.c	2001/03/21 16:43:45	2.47
--- frameobject.c	2001/04/14 17:49:40	2.48
***************
*** 252,256 ****
  /* Convert between "fast" version of locals and dictionary version */
  
! void
  map_to_dict(PyObject *map, int nmap, PyObject *dict, PyObject **values,
  	    int deref)
--- 252,256 ----
  /* Convert between "fast" version of locals and dictionary version */
  
! static void
  map_to_dict(PyObject *map, int nmap, PyObject *dict, PyObject **values,
  	    int deref)