
On Fri, Nov 29, 2013 at 04:18:42PM +0100, Cédric Bosdonnat wrote:
But kept the legacy Domain lifecycle event functions as is. --- src/conf/domain_event.c | 87 ++++++++++++++++++++++++++----------------------- src/conf/domain_event.h | 4 +-- 2 files changed, 48 insertions(+), 43 deletions(-)
diff --git a/src/conf/domain_event.h b/src/conf/domain_event.h index c08f770..65a17ad 100644 --- a/src/conf/domain_event.h +++ b/src/conf/domain_event.h @@ -31,8 +31,8 @@ typedef struct _virObjectEventCallback virObjectEventCallback; typedef virObjectEventCallback *virObjectEventCallbackPtr;
-typedef struct _virDomainEventCallbackList virDomainEventCallbackList; -typedef virDomainEventCallbackList *virDomainEventCallbackListPtr; +typedef struct _virObjectEventCallbackList virObjectEventCallbackList; +typedef virObjectEventCallbackList *virObjectEventCallbackListPtr;
Another case where we can move the typedef out of the header Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|