diff options
author | Sumit Bose <sbose@redhat.com> | 2010-03-24 13:03:19 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-25 12:14:14 -0400 |
commit | 7c837ddd5b1737b56fc475f7e347efdb067e2330 (patch) | |
tree | 178162f35109bb3825ddcee8ef09c4252b052139 /src/python/pysss.c | |
parent | 541578ee21975ab008db2dcec69bd3c3f8283122 (diff) | |
download | sssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.tar.gz sssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.tar.xz sssd-7c837ddd5b1737b56fc475f7e347efdb067e2330.zip |
Fix warnings from -Wmissing-field-initializers
This patch removes some tab-indentations from pamsrv.c, too.
Diffstat (limited to 'src/python/pysss.c')
-rw-r--r-- | src/python/pysss.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/pysss.c b/src/python/pysss.c index 8011ed67e..bc1cf6e70 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 */ }; /* |