Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/connect.c | 4 ++--
src/domain.c | 4 ++--
src/gdbus.c | 4 ++--
src/main.c | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/connect.c b/src/connect.c
index 56ead8d..c6b85ce 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -281,7 +281,7 @@ virtDBusDomainLookupByUUID(GVariant *inArgs,
static virtDBusGDBusPropertyTable virtDBusConnectPropertyTable[] = {
{ "Version", virtDBusConnectGetVersion, NULL },
- { NULL, NULL, NULL }
+ { 0 }
};
static virtDBusGDBusMethodTable virtDBusConnectMethodTable[] = {
@@ -291,7 +291,7 @@ static virtDBusGDBusMethodTable virtDBusConnectMethodTable[] = {
{ "DomainLookupByID", virtDBusDomainLookupByID },
{ "DomainLookupByName", virtDBusDomainLookupByName },
{ "DomainLookupByUUID", virtDBusDomainLookupByUUID },
- { NULL, NULL }
+ { 0 }
};
static GDBusInterfaceInfo *interfaceInfo = NULL;
diff --git a/src/domain.c b/src/domain.c
index 3c09351..1b9c685 100644
--- a/src/domain.c
+++ b/src/domain.c
@@ -459,7 +459,7 @@ static virtDBusGDBusPropertyTable virtDBusDomainPropertyTable[] = {
{ "Persistent", virtDBusDomainGetPersistent, NULL },
{ "State", virtDBusDomainGetState, NULL },
{ "Autostart", virtDBusDomainGetAutostart, NULL },
- { NULL, NULL, NULL }
+ { 0 }
};
static virtDBusGDBusMethodTable virtDBusDomainMethodTable[] = {
@@ -472,7 +472,7 @@ static virtDBusGDBusMethodTable virtDBusDomainMethodTable[] = {
{ "Reset", virtDBusDomainReset },
{ "Create", virtDBusDomainCreate },
{ "Undefine", virtDBusDomainUndefine },
- { NULL, NULL }
+ { 0 }
};
static gchar **
diff --git a/src/gdbus.c b/src/gdbus.c
index 6abcc28..cb06813 100644
--- a/src/gdbus.c
+++ b/src/gdbus.c
@@ -294,7 +294,7 @@ static const GDBusInterfaceVTable virtDBusGDBusVtable = {
virtDBusGDBusHandleMethodCall,
NULL,
NULL,
- { NULL }
+ { 0 }
};
/**
@@ -378,7 +378,7 @@ static const GDBusSubtreeVTable virtDBusGDBusSubreeVtable = {
virtDBusGDBusEnumerate,
virtDBusGDBusIntrospect,
virtDBusGDBusDispatch,
- { NULL }
+ { 0 }
};
static void
diff --git a/src/main.c b/src/main.c
index 7afde4f..b3baf76 100644
--- a/src/main.c
+++ b/src/main.c
@@ -113,7 +113,7 @@ main(gint argc, gchar *argv[])
"Connect to the session bus", NULL },
{ "threads", 't', 0, G_OPTION_ARG_INT, &maxThreads,
"Configure maximal number of worker threads", "N" },
- { NULL }
+ { 0 }
};
context = g_option_context_new("Provide a D-Bus interface to a
libvirtd.");
--
2.14.3