Got RID of redundant coercions in longobject.c (as spotted by Greg
Stein -- thanks!). Incidentally removed all the Py_PROTO macros
from object.h, as they prevented my editor from magically finding
the definitions of the "coercion", "cmpfunc" and "reprfunc"
typedefs that were being redundantly applied in longobject.c.
diff --git a/Objects/longobject.c b/Objects/longobject.c
index f465221..df69a6d 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -1677,8 +1677,7 @@
(binaryfunc) long_and, /*nb_and*/
(binaryfunc) long_xor, /*nb_xor*/
(binaryfunc) long_or, /*nb_or*/
- (int (*) (PyObject **, PyObject **))
- (coercion)long_coerce, /*nb_coerce*/
+ (coercion) long_coerce, /*nb_coerce*/
(unaryfunc) long_int, /*nb_int*/
(unaryfunc) long_long, /*nb_long*/
(unaryfunc) long_float, /*nb_float*/
@@ -1696,14 +1695,12 @@
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
- (int (*) (PyObject *, PyObject *))
- (cmpfunc)long_compare, /*tp_compare*/
+ (cmpfunc)long_compare, /*tp_compare*/
(reprfunc)long_repr, /*tp_repr*/
&long_as_number, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
- (long (*) (PyObject *))
- (hashfunc)long_hash, /*tp_hash*/
+ (hashfunc)long_hash, /*tp_hash*/
0, /*tp_call*/
(reprfunc)long_str, /*tp_str*/
};