X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fvirt.c;h=d44aeb763e4fbf5f173046e2d442a6bd3cb45091;hb=b90d2a74f749faf39ba4fa8d2d1ef7d7411f1ba4;hp=fd20c77ebd0a4b4e1ca02183c28e6f855adc32e5;hpb=d53b2151ae583d6fc38b1a4dd49a3469635a84c8;p=collectd.git diff --git a/src/virt.c b/src/virt.c index fd20c77e..d44aeb76 100644 --- a/src/virt.c +++ b/src/virt.c @@ -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()";