summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/pysss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/pysss.c b/src/python/pysss.c
index 8011ed67..bc1cf6e7 100644
--- a/src/python/pysss.c
+++ b/src/python/pysss.c
@@ -888,10 +888,10 @@ static PyMethodDef sss_local_methods[] = {
static PyMemberDef sss_members[] = {
{ discard_const_p(char, "lock"), T_INT,
- offsetof(PySssLocalObject, lock), RO },
+ offsetof(PySssLocalObject, lock), RO, NULL},
{ discard_const_p(char, "unlock"), T_INT,
- offsetof(PySssLocalObject, unlock), RO },
- {NULL} /* Sentinel */
+ offsetof(PySssLocalObject, unlock), RO, NULL},
+ {NULL, 0, 0, 0, NULL} /* Sentinel */
};
/*
@@ -913,7 +913,7 @@ static PyTypeObject pysss_local_type = {
* Module methods
*/
static PyMethodDef module_methods[] = {
- {NULL} /* Sentinel */
+ {NULL, NULL, 0, NULL} /* Sentinel */
};
/*