Re: [libvirt] [PATCH] netdev: fix build on FreeBSD

2015-07-22 Thread Martin Kletzander
On Wed, Jul 22, 2015 at 06:38:05PM +0300, Roman Bogorodskiy wrote: Commit ac3ed20 breaks build on FreeBSD with: CC util/libvirt_util_la-virnetdev.lo util/virnetdev.c:2967:1: error: unused function 'virNetDevRDMAFeature' [-Werror,-Wunused-function] virNetDevRDMAFeature(const char *ifname,

[libvirt] [PATCH] netdev: fix build on FreeBSD

2015-07-22 Thread Roman Bogorodskiy
Commit ac3ed20 breaks build on FreeBSD with: CC util/libvirt_util_la-virnetdev.lo util/virnetdev.c:2967:1: error: unused function 'virNetDevRDMAFeature' [-Werror,-Wunused-function] virNetDevRDMAFeature(const char *ifname, ^ So hide virNetDevRDMAFeature function under the #ifdef 'SIOCETHT