From: Christian Ambach Date: Wed, 30 Dec 2015 20:33:23 +0000 (+0100) Subject: Revert "lib/tevent: fix a compile warning" X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=aea8c6915bc7a9d3867c6215db0e9adc92232778;p=ambi%2Fsamba.git Revert "lib/tevent: fix a compile warning" This reverts commit c64086915897fd46d8f407635d8de108ff566abf. --- diff --git a/lib/tevent/pytevent.c b/lib/tevent/pytevent.c index 60a0b37642..10d8a22a8c 100644 --- a/lib/tevent/pytevent.c +++ b/lib/tevent/pytevent.c @@ -738,7 +738,7 @@ static void py_tevent_context_dealloc(TeventContext_Object *self) static PyObject *py_tevent_context_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) { - char *kwnames[] = { "name", NULL }; + const char * const kwnames[] = { "name", NULL }; char *name = NULL; struct tevent_context *ev; TeventContext_Object *ret;