virt plugin: fix compiler warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Feb 2019 10:25:50 +0000 (11:25 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Feb 2019 10:25:50 +0000 (11:25 +0100)
commit8f4c082ea659466c7f335371972c65b4de546097
treec5d3ea3f6c0bff401cfe5c530b8cf054c2884dd8
parent587c9126c2cb5031ed1266651d26f6d704f509d5
virt plugin: fix compiler warning

src/virt.c:725:7: warning: no previous prototype for function 'metadata_get_hostname' [-Wmissing-prototypes]
char *metadata_get_hostname(virDomainPtr dom) {
      ^
1 warning generated.
src/virt.c