[libvirt] [PATCH v2 4/5] Network: Add additional hosts internal infrastructure
Laine Stump
laine at laine.org
Thu Apr 28 16:31:57 UTC 2011
On 04/28/2011 11:00 AM, Michal Novotny wrote:
> On 04/28/2011 03:31 AM, Laine Stump wrote:
>> Coming back to this now that I see how it's being used...
>>
>> On 04/01/2011 06:45 AM, Michal Novotny wrote:
>>> +
>>> +static int
>>> +addnhostsAdd(dnsmasqAddnHostsfile *addnhostsfile,
>>> + virSocketAddr *ip,
>> You could also mark ip as a const.
> Well, not really since I was unable to compile it anymore when prefixing
> it with const keyword.
Ah, bummer :-( So some function(s) called by addnhostsAdd() needs const
for the virSocketAddr*
More information about the libvir-list
mailing list