From 7c837ddd5b1737b56fc475f7e347efdb067e2330 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 24 Mar 2010 13:03:19 +0100 Subject: Fix warnings from -Wmissing-field-initializers This patch removes some tab-indentations from pamsrv.c, too. --- src/python/pysss.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/python') 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 */ }; /* -- cgit