]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt-qemu: Fix enum type declaration
authorJiri Denemark <jdenemar@redhat.com>
Mon, 14 Feb 2011 11:04:00 +0000 (12:04 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 14 Feb 2011 11:35:39 +0000 (12:35 +0100)
include/libvirt/libvirt-qemu.h

index 9257c2f1eb06ef41a389d14beb51322acd2a59ff..f172eff0fed47481b87879020bac67089970cbbd 100644 (file)
@@ -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;