summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-03-24 13:03:19 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-25 12:14:14 -0400
commit7c837ddd5b1737b56fc475f7e347efdb067e2330 (patch)
tree178162f35109bb3825ddcee8ef09c4252b052139 /src/python
parent541578ee21975ab008db2dcec69bd3c3f8283122 (diff)
downloadsssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.tar.gz
sssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.tar.bz2
sssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.zip
Fix warnings from -Wmissing-field-initializers
This patch removes some tab-indentations from pamsrv.c, too.
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 */
};
/*