summaryrefslogtreecommitdiff
path: root/lib/tevent/pytevent.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-10 16:21:41 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-11 09:47:54 +0000
commitbb241f5cf8424c2576d5bc33ac149e5720b82068 (patch)
tree9f9617267edb7cc5213f09c7a5847145dfbf6626 /lib/tevent/pytevent.c
parentf0367905d9a6db76712f1dcf9734f64fe5c5e1b3 (diff)
downloadsamba-bb241f5cf8424c2576d5bc33ac149e5720b82068.tar.gz
samba-bb241f5cf8424c2576d5bc33ac149e5720b82068.tar.bz2
samba-bb241f5cf8424c2576d5bc33ac149e5720b82068.zip
s4:pytevent.c - fix a discard const warning
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 11 09:47:55 UTC 2010 on sn-devel-104
Diffstat (limited to 'lib/tevent/pytevent.c')
-rw-r--r--lib/tevent/pytevent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/pytevent.c b/lib/tevent/pytevent.c
index 5999802346..22541bb624 100644
--- a/lib/tevent/pytevent.c
+++ b/lib/tevent/pytevent.c
@@ -629,7 +629,7 @@ static void py_tevent_context_dealloc(TeventContext_Object *self)
static PyObject *py_tevent_context_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
{
- const char *kwnames[] = { "name", NULL };
+ const char * const kwnames[] = { "name", NULL };
char *name = NULL;
struct tevent_context *ev;
TeventContext_Object *ret;