Make some internal functions static
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 @@
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)
{
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 542fe38..a0019c4 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -295,7 +295,7 @@
/* Flush stdout and stderr */
-void
+static void
flush_std_files(void)
{
PyObject *fout = PySys_GetObject("stdout");