aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-03-23 14:23:43 -0600
committerEric Blake <eblake@redhat.com>2012-03-23 14:29:00 -0600
commit9b6860f5ceaded1bf3a5ed6ad550fab059637e32 (patch)
tree24bfbe3c30ded6bf0d6a225197a069875f625aaf /include
parentAdd qemu support for ppc64 on FC16 or above for rpm packaging (diff)
downloadlibvirt-9b6860f5ceaded1bf3a5ed6ad550fab059637e32.tar.gz
libvirt-9b6860f5ceaded1bf3a5ed6ad550fab059637e32.tar.bz2
libvirt-9b6860f5ceaded1bf3a5ed6ad550fab059637e32.zip
build: fix incorrect enum declaration
Recent changes have caused build failures on systems where pdwtags works: commit a26a196 mistakenly exported a public variable commits a26a196, 57ddcc2, 487c063 all had copy-paste bugs in hand-updating the golden API rather than rerunning pdwtags * include/libvirt/libvirt.h.in (virDomainEventTrayChangeReason): Make this a typedef, not external storage. * src/remote_protocol-structs (remote_procedure): Fix spelling.
Diffstat (limited to 'include')
-rw-r--r--include/libvirt/libvirt.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index c702e6631..8bb5c5754 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -3684,7 +3684,7 @@ typedef void (*virConnectDomainEventDiskChangeCallback)(virConnectPtr conn,
*
* The reason describing why the callback was called
*/
-enum {
+typedef enum {
VIR_DOMAIN_EVENT_TRAY_CHANGE_OPEN = 0,
VIR_DOMAIN_EVENT_TRAY_CHANGE_CLOSE,