summaryrefslogtreecommitdiffstats
path: root/Objects/bytesobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-27 06:19:22 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-27 06:19:22 (GMT)
commit2bad9702930f620b61c8bc3cec3d4cd811df3693 (patch)
treec458805551221d42d0be97a47007fe2bd4f403d4 /Objects/bytesobject.c
parent908c871eeb1490c105d46c7a470201f39f2f89f8 (diff)
downloadcpython-2bad9702930f620b61c8bc3cec3d4cd811df3693.zip
cpython-2bad9702930f620b61c8bc3cec3d4cd811df3693.tar.gz
cpython-2bad9702930f620b61c8bc3cec3d4cd811df3693.tar.bz2
Make some internal functions static
Diffstat (limited to 'Objects/bytesobject.c')
-rw-r--r--Objects/bytesobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index 24b8695..182cbfc 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -75,7 +75,7 @@ bytes_releasebuffer(PyBytesObject *obj, PyBuffer *view)
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 @@ bytes_remove(PyBytesObject *self, PyObject *arg)
/* 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 @@ lstrip_helper(unsigned char *myptr, Py_ssize_t mysize,
return i;
}
-Py_ssize_t
+static Py_ssize_t
rstrip_helper(unsigned char *myptr, Py_ssize_t mysize,
void *argptr, Py_ssize_t argsize)
{