Re: [PATCH v2 4/5] Network: Add additional hosts internal infrastructure

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

 



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*

--
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]