X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpyconfig.c;h=ba59b2407df71da04675e7799f1b5dc7b02802a7;hb=5a4d8ac293241a96d124b108a77a79e451c2afc2;hp=63b44f8851aea70ea0a49a99ddf36d7ab519d954;hpb=2c15d340059c210c86441b840c82bfd0ea8d26d7;p=collectd.git diff --git a/src/pyconfig.c b/src/pyconfig.c index 63b44f88..ba59b240 100644 --- a/src/pyconfig.c +++ b/src/pyconfig.c @@ -6,7 +6,7 @@ #include "cpython.h" -static const char Config_doc[] = "This represents a piece of collectd's config file.\n" +static char config_doc[] = "This represents a piece of collectd's config file.\n" "It is passed to scripts with config callbacks (see \"register_config\")\n" "and is of little use if created somewhere else.\n" "\n" @@ -144,7 +144,7 @@ PyTypeObject ConfigType = { 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, /*tp_flags*/ - Config_doc, /* tp_doc */ + config_doc, /* tp_doc */ Config_traverse, /* tp_traverse */ Config_clear, /* tp_clear */ 0, /* tp_richcompare */