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> Mon Oct 6 11:23:40 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* qemud/Makefile.am: Fix VPATH build (Guido Gunther) * qemud/Makefile.am: Fix VPATH build (Guido Gunther)

View File

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

View File

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

View File

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

View File

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