diff Objects/bytesobject.c @ 42893:2c02ba72714b

Make some internal functions static
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 27 Aug 2007 06:19:22 +0000
parents 4b7036dc76d5
children 71cd5598b74d
line wrap: on
line diff
--- a/Objects/bytesobject.c	Mon Aug 27 04:58:38 2007 +0000
+++ b/Objects/bytesobject.c	Mon Aug 27 06:19:22 2007 +0000
@@ -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)
 {