summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c15d34)
raw | patch | inline | side by side (parent: 2c15d34)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 8 Dec 2009 11:14:56 +0000 (12:14 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 8 Dec 2009 11:14:56 +0000 (12:14 +0100) |
pyconfig.c:147: warning: initialization discards qualifiers from pointer target type
src/pyconfig.c | patch | blob | history |
diff --git a/src/pyconfig.c b/src/pyconfig.c
index 63b44f8851aea70ea0a49a99ddf36d7ab519d954..ba59b2407df71da04675e7799f1b5dc7b02802a7 100644 (file)
--- a/src/pyconfig.c
+++ b/src/pyconfig.c
#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"
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 */