Re: [PATCH] osx: fix broken enum typedef declaration breaking compilation on osx

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

 



On 14/02/2011, at 10:26 PM, Justin Clift wrote:
> As pointed out by Daniel Berrange, this broken enum declaration was the cause of
> "duplicate symbol _virDomainQemuMonitorCommandFlags ..." errors on OSX.
> ---
> include/libvirt/libvirt-qemu.h |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/libvirt/libvirt-qemu.h b/include/libvirt/libvirt-qemu.h
> index 9257c2f..f172eff 100644
> --- a/include/libvirt/libvirt-qemu.h
> +++ b/include/libvirt/libvirt-qemu.h
> @@ -20,7 +20,7 @@
> extern "C" {
> # endif
> 
> -enum {
> +typedef enum {
>     VIR_DOMAIN_QEMU_MONITOR_COMMAND_DEFAULT = 0,
>     VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP     = (1 << 0), /* cmd is in HMP */
> } virDomainQemuMonitorCommandFlags;
> -- 
> 1.7.4.1

NACK with prejudice, Jirka's already submitted the same thing. :)


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