]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix definition mismatch for type_is_subtype_base_chain.
authorSteve Dower <steve.dower@microsoft.com>
Fri, 6 Feb 2015 16:50:23 +0000 (08:50 -0800)
committerSteve Dower <steve.dower@microsoft.com>
Fri, 6 Feb 2015 16:50:23 +0000 (08:50 -0800)
Objects/typeobject.c

index 40a654b136b1563cceb860c8efa8c970538042ec..482a7a5267f5ed86e3585e96a3d68f8bd7e03078 100644 (file)
@@ -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);