X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpyconfig.c;h=5f51b937cd88172b73eac58a4769c8858a5d454d;hb=48622c3d7c8c0d3ab07cda8a1947c33bfe31df73;hp=c6e89306483ef1db7ad8ba57e7e8a628fd7fad6b;hpb=2079ee1517e34de372f58e7e2267ad5c71a8a41f;p=collectd.git diff --git a/src/pyconfig.c b/src/pyconfig.c index c6e89306..5f51b937 100644 --- a/src/pyconfig.c +++ b/src/pyconfig.c @@ -29,7 +29,7 @@ #include "collectd.h" -#include "common.h" +#include "utils/common/common.h" #include "cpython.h" @@ -129,7 +129,7 @@ static int Config_init(PyObject *s, PyObject *args, PyObject *kwds) { static PyObject *Config_repr(PyObject *s) { Config *self = (Config *)s; PyObject *ret = NULL; - static PyObject *node_prefix = NULL, *root_prefix = NULL, *ending = NULL; + static PyObject *node_prefix, *root_prefix, *ending; /* This is ok because we have the GIL, so this is thread-save by default. */ if (node_prefix == NULL)