[libvirt] [PATCH] src/bridge.c compile error

Daniel Veillard veillard at redhat.com
Mon Apr 20 09:18:33 UTC 2009


On Mon, Apr 20, 2009 at 11:28:21AM +0400, Anton Protopopov wrote:
> Hi.
> 
> The absense of SIOCBRADDBR causes compile error:
>   > bridge.c:143: error: conflicting types for 'brAddBridge'
>   > bridge.h:50: error: previous declaration of 'brAddBridge' was here
> See attached patch for fix.

  Makes sense, I also added a couple of missing ATTRIBUTE_UNUSED in
brHasBridge() # else one page later,

  thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list