]> granicus.if.org Git - python/commitdiff
Modules/_io/bufferedio.c (buffered_dealloc_warn): Make it static.
authorMatthias Klose <doko@ubuntu.com>
Tue, 16 Nov 2010 20:07:51 +0000 (20:07 +0000)
committerMatthias Klose <doko@ubuntu.com>
Tue, 16 Nov 2010 20:07:51 +0000 (20:07 +0000)
Modules/_io/bufferedio.c

index 504e2cbd14091cc6c59b16150c74bd15d4c5d84a..7661a00056ae7575e154c6b3bbf449de3592b1a5 100644 (file)
@@ -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) {