use C99 initializers for virState

* src/lxc_driver.c src/qemu_driver.c src/remote_internal.c
  src/storage_driver.c: use C99 initializers for virState (Guido
  Gunther)
Daniel
This commit is contained in:
Daniel Veillard 2008-10-06 15:40:37 +00:00
parent 243e80260a
commit 72c40b0622
5 changed files with 18 additions and 20 deletions

View File

@ -1,3 +1,9 @@
Mon Oct 6 17:39:12 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/lxc_driver.c src/qemu_driver.c src/remote_internal.c
src/storage_driver.c: use C99 initializers for virState (Guido
Gunther)
Mon Oct 6 11:23:40 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* qemud/Makefile.am: Fix VPATH build (Guido Gunther)

View File

@ -1214,11 +1214,9 @@ static virDriver lxcDriver = {
static virStateDriver lxcStateDriver = {
lxcStartup,
lxcShutdown,
NULL, /* reload */
lxcActive,
NULL,
.initialize = lxcStartup,
.cleanup = lxcShutdown,
.active = lxcActive,
};
int lxcRegister(void)

View File

@ -4104,11 +4104,10 @@ static virNetworkDriver qemuNetworkDriver = {
#ifdef WITH_LIBVIRTD
static virStateDriver qemuStateDriver = {
qemudStartup,
qemudShutdown,
qemudReload,
qemudActive,
NULL
.initialize = qemudStartup,
.cleanup = qemudShutdown,
.reload = qemudReload,
.active = qemudActive,
};
#endif

View File

@ -4937,11 +4937,7 @@ static virStorageDriver storage_driver = {
#ifdef WITH_LIBVIRTD
static virStateDriver state_driver = {
remoteStartup,
NULL,
NULL,
NULL,
NULL
.initialize = remoteStartup,
};
#endif

View File

@ -1267,11 +1267,10 @@ static virStorageDriver storageDriver = {
static virStateDriver stateDriver = {
storageDriverStartup,
storageDriverShutdown,
storageDriverReload,
storageDriverActive,
NULL
.initialize = storageDriverStartup,
.cleanup = storageDriverShutdown,
.reload = storageDriverReload,
.active = storageDriverActive,
};
int storageRegister(void) {