summaryrefslogtreecommitdiff
path: root/source3/python/py_winbind.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-14 02:37:47 +0000
committerTim Potter <tpot@samba.org>2002-05-14 02:37:47 +0000
commit520b40e4235f26cf2bc670128ff277141084e53c (patch)
tree94443ce711bd98b635f640d509c3de93b46fac55 /source3/python/py_winbind.c
parent0c9e6bb88f6ce7fddd561a6a4ef9107f4d77eca7 (diff)
downloadsamba-520b40e4235f26cf2bc670128ff277141084e53c.tar.gz
samba-520b40e4235f26cf2bc670128ff277141084e53c.tar.bz2
samba-520b40e4235f26cf2bc670128ff277141084e53c.zip
General cleanup of compiler warnings etc.
(This used to be commit 18aeadc591b69bbbd874b7285ecaed50ff587e68)
Diffstat (limited to 'source3/python/py_winbind.c')
-rw-r--r--source3/python/py_winbind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/python/py_winbind.c b/source3/python/py_winbind.c
index 657e98281d..e55d12afb2 100644
--- a/source3/python/py_winbind.c
+++ b/source3/python/py_winbind.c
@@ -578,11 +578,11 @@ success." },
{ NULL }
};
-static struct winbind_const {
+static struct const_vals {
char *name;
uint32 value;
char *docstring;
-} winbind_const_vals[] = {
+} module_const_vals[] = {
/* Well known RIDs */
@@ -606,10 +606,10 @@ static struct winbind_const {
static void const_init(PyObject *dict)
{
- struct winbind_const *tmp;
+ struct const_vals *tmp;
PyObject *obj;
- for (tmp = winbind_const_vals; tmp->name; tmp++) {
+ for (tmp = module_const_vals; tmp->name; tmp++) {
obj = PyInt_FromLong(tmp->value);
PyDict_SetItemString(dict, tmp->name, obj);
Py_DECREF(obj);