summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/rpmfd-py.c2
-rw-r--r--python/rpmfi-py.c2
-rw-r--r--python/rpmps-py.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/python/rpmfd-py.c b/python/rpmfd-py.c
index 5c50a4f63..acd8f7279 100644
--- a/python/rpmfd-py.c
+++ b/python/rpmfd-py.c
@@ -292,7 +292,7 @@ PyTypeObject rpmfd_Type = {
0, /* tp_print */
(getattrfunc)0, /* tp_getattr */
(setattrfunc)0, /* tp_setattr */
- (cmpfunc)0, /* tp_compare */
+ 0, /* tp_compare */
(reprfunc)0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/python/rpmfi-py.c b/python/rpmfi-py.c
index c6d2ba4a4..5ac0c3a09 100644
--- a/python/rpmfi-py.c
+++ b/python/rpmfi-py.c
@@ -325,7 +325,7 @@ PyTypeObject rpmfi_Type = {
0, /* tp_print */
(getattrfunc)0, /* tp_getattr */
(setattrfunc)0, /* tp_setattr */
- (cmpfunc)0, /* tp_compare */
+ 0, /* tp_compare */
(reprfunc)0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
diff --git a/python/rpmps-py.c b/python/rpmps-py.c
index ccea5d221..258ad59e4 100644
--- a/python/rpmps-py.c
+++ b/python/rpmps-py.c
@@ -83,7 +83,7 @@ PyTypeObject rpmProblem_Type = {
0, /* tp_print */
(getattrfunc)0, /* tp_getattr */
(setattrfunc)0, /* tp_setattr */
- (cmpfunc)0, /* tp_compare */
+ 0, /* tp_compare */
(reprfunc)0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
@@ -238,7 +238,7 @@ PyTypeObject rpmps_Type = {
0, /* tp_print */
(getattrfunc)0, /* tp_getattr */
(setattrfunc)0, /* tp_setattr */
- (cmpfunc)0, /* tp_compare */
+ 0, /* tp_compare */
(reprfunc)0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */