summaryrefslogtreecommitdiffstats
path: root/source/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
commit18aeadc591b69bbbd874b7285ecaed50ff587e68 (patch)
treecfda265d822a3f85316e259a912a97f16dce8097 /source/python/py_winbind.c
parent5c58b4290dbc364f3b2d6593fd0425fd50160993 (diff)
downloadsamba-18aeadc591b69bbbd874b7285ecaed50ff587e68.tar.gz
samba-18aeadc591b69bbbd874b7285ecaed50ff587e68.tar.xz
samba-18aeadc591b69bbbd874b7285ecaed50ff587e68.zip
General cleanup of compiler warnings etc.
Diffstat (limited to 'source/python/py_winbind.c')
-rw-r--r--source/python/py_winbind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/python/py_winbind.c b/source/python/py_winbind.c
index 657e98281d0..e55d12afb23 100644
--- a/source/python/py_winbind.c
+++ b/source/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);