Re: [PATCH 1/4] build: yet another cgroup conditional compilation fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/29/2013 09:09 AM, Daniel P. Berrange wrote:
> On Mon, Jul 29, 2013 at 08:53:35AM -0600, Eric Blake wrote:
>> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
>>

>>
>> -static int virCgroupPartitionEscape(char **path);
>> -
>>  bool virCgroupAvailable(void)
>>  {
>>      bool ret = false;
>> @@ -95,6 +93,10 @@ bool virCgroupAvailable(void)
>>      return ret;
>>  }
>>
>> +#if defined HAVE_MNTENT_H && defined HAVE_GETMNTENT_R
>> +
>> +static int virCgroupPartitionEscape(char **path);
>> +

> 
> This won't apply to master, since I pushed my previous version of
> the patch before you posted about the mingw32 problems

So I noticed.  But all I did that yours didn't do was move the static
declaration into the conditional, to shut up the compiler warning about
an unused static forward declaration.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]