From: Ján Tomko Date: Tue, 20 Jan 2015 09:00:59 +0000 (+0100) Subject: Fix virCgroupNewMachine prototype on non-Linux X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c803c070c44c3e0957fc89d75d954d0b0aca3ccc;p=libvirt.git Fix virCgroupNewMachine prototype on non-Linux Commit 318df5a changed the prototype of virCgroupNewMachine without adjusting the stub function for platforms without cgroups. --- diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c index f5f617ed67..fe34290aca 100644 --- a/src/util/vircgroup.c +++ b/src/util/vircgroup.c @@ -4073,6 +4073,8 @@ virCgroupNewMachine(const char *name ATTRIBUTE_UNUSED, const char *rootdir ATTRIBUTE_UNUSED, pid_t pidleader ATTRIBUTE_UNUSED, bool isContainer ATTRIBUTE_UNUSED, + size_t nnicindexes ATTRIBUTE_UNUSED, + int *nicindexes ATTRIBUTE_UNUSED, const char *partition ATTRIBUTE_UNUSED, int controllers ATTRIBUTE_UNUSED, virCgroupPtr *group ATTRIBUTE_UNUSED)