summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-02-06 16:50:23 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-02-06 16:50:23 (GMT)
commitb4e20bb5882b88c6cdd06e0779d8971c0f9b2082 (patch)
treea8f9c1e1cf708feb8405583285238287a49f6f87 /Objects
parentb51813403f26304df64a818eae103aeed3550344 (diff)
downloadcpython-b4e20bb5882b88c6cdd06e0779d8971c0f9b2082.zip
cpython-b4e20bb5882b88c6cdd06e0779d8971c0f9b2082.tar.gz
cpython-b4e20bb5882b88c6cdd06e0779d8971c0f9b2082.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 40a654b..482a7a5 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -540,7 +540,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);