The return value from PyObject_ClearWeakRefs() is no longer meaningful,
so make it void.
diff --git a/Include/object.h b/Include/object.h
index 2f683eb..80669da 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -284,7 +284,7 @@
 extern DL_IMPORT(int) PyNumber_Coerce(PyObject **, PyObject **);
 extern DL_IMPORT(int) PyNumber_CoerceEx(PyObject **, PyObject **);
 
-extern DL_IMPORT(int) (*PyObject_ClearWeakRefs)(PyObject *);
+extern DL_IMPORT(void) (*PyObject_ClearWeakRefs)(PyObject *);
 
 /* Helpers for printing recursive container types */
 extern DL_IMPORT(int) Py_ReprEnter(PyObject *);