summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-02-06 16:51:26 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-02-06 16:51:26 (GMT)
commitd327d8d9a4c0733e417d6876eb95c1e51b02a166 (patch)
tree5330f711fdf5d6c414482e1ff0711cafe16d2aec /Objects
parentbf5e9604cc5a5ae61181b093193286f06a502ad6 (diff)
parentb4e20bb5882b88c6cdd06e0779d8971c0f9b2082 (diff)
downloadcpython-d327d8d9a4c0733e417d6876eb95c1e51b02a166.zip
cpython-d327d8d9a4c0733e417d6876eb95c1e51b02a166.tar.gz
cpython-d327d8d9a4c0733e417d6876eb95c1e51b02a166.tar.bz2
Fix definition mismatch for type_is_subtype_base_chain.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index ed82d03..f0ad7fd 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -565,7 +565,7 @@ type_get_bases(PyTypeObject *type, void *context)
static PyTypeObject *best_base(PyObject *);
static int mro_internal(PyTypeObject *, PyObject **);
-static int type_is_subtype_base_chain(PyTypeObject *, PyTypeObject *);
+Py_LOCAL_INLINE(int) type_is_subtype_base_chain(PyTypeObject *, PyTypeObject *);
static int compatible_for_assignment(PyTypeObject *, PyTypeObject *, char *);
static int add_subclass(PyTypeObject*, PyTypeObject*);
static int add_all_subclasses(PyTypeObject *type, PyObject *bases);