summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2010-11-16 20:07:51 (GMT)
committerMatthias Klose <doko@ubuntu.com>2010-11-16 20:07:51 (GMT)
commitbee3316083429b8777f2b7a984c35c281933849a (patch)
tree614a522637550fa35e5b4faf4ac241d72d3aa682 /Modules
parent6e6cb8e0e491477614bae33c29f6e00d0d48c20b (diff)
downloadcpython-bee3316083429b8777f2b7a984c35c281933849a.zip
cpython-bee3316083429b8777f2b7a984c35c281933849a.tar.gz
cpython-bee3316083429b8777f2b7a984c35c281933849a.tar.bz2
Modules/_io/bufferedio.c (buffered_dealloc_warn): Make it static.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/bufferedio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/bufferedio.c b/Modules/_io/bufferedio.c
index 504e2cb..7661a00 100644
--- a/Modules/_io/bufferedio.c
+++ b/Modules/_io/bufferedio.c
@@ -387,7 +387,7 @@ buffered_clear(buffered *self)
/* Because this can call arbitrary code, it shouldn't be called when
the refcount is 0 (that is, not directly from tp_dealloc unless
the refcount has been temporarily re-incremented). */
-PyObject *
+static PyObject *
buffered_dealloc_warn(buffered *self, PyObject *source)
{
if (self->ok && self->raw) {