X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvirt.c;h=d44aeb763e4fbf5f173046e2d442a6bd3cb45091;hb=ce7e4b8cd61d034398daaabacf9a8c8404b82a4d;hp=a3f94051464f3743a5a424e8c852da7f40e01783;hpb=5616ea4da99ee3b1cc5de14b2d6e22f956d48674;p=collectd.git diff --git a/src/virt.c b/src/virt.c index a3f94051..d44aeb76 100644 --- a/src/virt.c +++ b/src/virt.c @@ -22,10 +22,10 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" +#include "utils/ignorelist/ignorelist.h" #include "utils_complain.h" -#include "utils_ignorelist.h" #include /* for basename(3) */ #include @@ -722,7 +722,7 @@ static int get_block_info(struct lv_block_info *binfo, ERROR(PLUGIN_NAME " plugin: %s failed: %s", (s), err->message); \ } while (0) -char *metadata_get_hostname(virDomainPtr dom) { +static char *metadata_get_hostname(virDomainPtr dom) { const char *xpath_str = NULL; if (hm_xpath == NULL) xpath_str = "/instance/name/text()";