Commit 4f3e0645 authored by Katerina Koukiou's avatar Katerina Koukiou

maint: fix coding style

Signed-off-by: 's avatarKaterina Koukiou <kkoukiou@redhat.com>
parent c7394339
......@@ -1187,12 +1187,12 @@ virtDBusConnectNWFilterDefineXML(GVariant *inArgs,
static void
virtDBusConnectNWFilterLookupByName(GVariant *inArgs,
GUnixFDList *inFDs G_GNUC_UNUSED,
const gchar *objectPath G_GNUC_UNUSED,
gpointer userData,
GVariant **outArgs,
GUnixFDList **outFDs G_GNUC_UNUSED,
GError **error)
GUnixFDList *inFDs G_GNUC_UNUSED,
const gchar *objectPath G_GNUC_UNUSED,
gpointer userData,
GVariant **outArgs,
GUnixFDList **outFDs G_GNUC_UNUSED,
GError **error)
{
virtDBusConnect *connect = userData;
g_autoptr(virNWFilter) nwfilter = NULL;
......
......@@ -2189,7 +2189,7 @@ virtDBusDomainMigrateToURI3(GVariant *inArgs,
virtDBusConnect *connect = userData;
g_autoptr(virDomain) domain = NULL;
g_autoptr(GVariantIter) iter = NULL;
const gchar* dconuri;
const gchar *dconuri;
g_auto(virtDBusUtilTypedParams) params = { 0 };
guint flags;
......
......@@ -546,10 +546,10 @@ virtDBusEventsDomainDiskChange(virConnectPtr connection G_GNUC_UNUSED,
static gint
virtDBusEventsNetworkEvent(virConnectPtr connection G_GNUC_UNUSED,
virNetworkPtr network,
gint event,
gint detail G_GNUC_UNUSED,
gpointer opaque)
virNetworkPtr network,
gint event,
gint detail G_GNUC_UNUSED,
gpointer opaque)
{
virtDBusConnect *connect = opaque;
g_autofree gchar *path = NULL;
......@@ -592,10 +592,10 @@ virtDBusEventsNodeDeviceEvent(virConnectPtr connection G_GNUC_UNUSED,
static gint
virtDBusEventsSecretEvent(virConnectPtr connection G_GNUC_UNUSED,
virSecretPtr secret,
gint event,
gint detail,
gpointer opaque)
virSecretPtr secret,
gint event,
gint detail,
gpointer opaque)
{
virtDBusConnect *connect = opaque;
g_autofree gchar *path = NULL;
......@@ -615,10 +615,10 @@ virtDBusEventsSecretEvent(virConnectPtr connection G_GNUC_UNUSED,
static gint
virtDBusEventsStoragePoolEvent(virConnectPtr connection G_GNUC_UNUSED,
virStoragePoolPtr storagePool,
gint event,
gint detail,
gpointer opaque)
virStoragePoolPtr storagePool,
gint event,
gint detail,
gpointer opaque)
{
virtDBusConnect *connect = opaque;
g_autofree gchar *path = NULL;
......
......@@ -235,7 +235,7 @@ virtDBusNetworkGetDHCPLeases(GVariant *inArgs,
g_variant_builder_add(&builder, "(sxisssuss)",
lease->iface, lease->expirytime,
lease->type, lease->mac,
lease->iaid ? lease->iaid : "" ,
lease->iaid ? lease->iaid : "",
lease->ipaddr, lease->prefix,
lease->hostname ? lease->hostname : "",
lease->clientid ? lease->clientid : "");
......
......@@ -348,8 +348,8 @@ virtDBusUtilVirNodeDeviceListFree(virNodeDevicePtr *devs)
virNWFilterPtr
virtDBusUtilVirNWFilterFromBusPath(virConnectPtr connection,
const gchar *path,
const gchar *nwfilterPath)
const gchar *path,
const gchar *nwfilterPath)
{
g_autofree gchar *name = NULL;
gsize prefixLen = strlen(nwfilterPath) + 1;
......@@ -361,7 +361,7 @@ virtDBusUtilVirNWFilterFromBusPath(virConnectPtr connection,
gchar *
virtDBusUtilBusPathForVirNWFilter(virNWFilterPtr nwfilter,
const gchar *nwfilterPath)
const gchar *nwfilterPath)
{
gchar uuid[VIR_UUID_STRING_BUFLEN] = "";
g_autofree gchar *newUuid = NULL;
......
......@@ -67,8 +67,8 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(virDomainStatsRecordPtr, virDomainStatsRecordListF
virNetworkPtr
virtDBusUtilVirNetworkFromBusPath(virConnectPtr connection,
const gchar *path,
const gchar *networkPath);
const gchar *path,
const gchar *networkPath);
gchar *
virtDBusUtilBusPathForVirNetwork(virNetworkPtr network,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment