Author: neal.norwitz
Date: Mon Aug 27 08:19:22 2007
New Revision: 57552

Modified:
   python/branches/py3k/Objects/bytesobject.c
   python/branches/py3k/Python/pythonrun.c
Log:
Make some internal functions static

Modified: python/branches/py3k/Objects/bytesobject.c
==============================================================================
--- python/branches/py3k/Objects/bytesobject.c  (original)
+++ python/branches/py3k/Objects/bytesobject.c  Mon Aug 27 08:19:22 2007
@@ -75,7 +75,7 @@
         obj->ob_exports--;
 }
 
-Py_ssize_t
+static Py_ssize_t
 _getbuffer(PyObject *obj, PyBuffer *view)
 {
     PyBufferProcs *buffer = Py_Type(obj)->tp_as_buffer;
@@ -2534,7 +2534,7 @@
 
 /* XXX These two helpers could be optimized if argsize == 1 */
 
-Py_ssize_t
+static Py_ssize_t
 lstrip_helper(unsigned char *myptr, Py_ssize_t mysize,
               void *argptr, Py_ssize_t argsize)
 {
@@ -2544,7 +2544,7 @@
     return i;
 }
 
-Py_ssize_t
+static Py_ssize_t
 rstrip_helper(unsigned char *myptr, Py_ssize_t mysize,
               void *argptr, Py_ssize_t argsize)
 {

Modified: python/branches/py3k/Python/pythonrun.c
==============================================================================
--- python/branches/py3k/Python/pythonrun.c     (original)
+++ python/branches/py3k/Python/pythonrun.c     Mon Aug 27 08:19:22 2007
@@ -295,7 +295,7 @@
 
 /* Flush stdout and stderr */
 
-void
+static void
 flush_std_files(void)
 {
        PyObject *fout = PySys_GetObject("stdout");
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to