From: Steve Dower Date: Fri, 6 Feb 2015 16:50:23 +0000 (-0800) Subject: Fix definition mismatch for type_is_subtype_base_chain. X-Git-Tag: v3.4.3rc1~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4e20bb5882b88c6cdd06e0779d8971c0f9b2082;p=thirdparty%2FPython%2Fcpython.git Fix definition mismatch for type_is_subtype_base_chain. --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 40a654b136b1..482a7a5267f5 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);