]> xenbits.xensource.com Git - libvirt.git/commit
xenapi_utils: Adapt to enum cleanups
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Jun 2014 07:18:58 +0000 (09:18 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Jun 2014 07:18:58 +0000 (09:18 +0200)
commitb20060bae2db38741d98c995c24f8637e6f3c5bf
treece0fc5f697cf2f45fd856e5b1b3d05a9e8a50469
parent3dd23b6106c848a63e5976ecd342d04de6a1d613
xenapi_utils: Adapt to enum cleanups

It was just very recently that we transfered from:

  enum virSomeEnumName{
      ...
  };

to:
  typedef enum {
      ...
  } virSomeEnumName;

This change requires some code adaptation, which wasn't done for
xenapi driver. With this fix we are able to build again.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/xenapi/xenapi_utils.c
src/xenapi/xenapi_utils.h