[gssdp] Fix parameter indentation
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] Fix parameter indentation
- Date: Tue, 28 May 2013 10:04:23 +0000 (UTC)
commit 9146b8841413ef417f9e75229629a2d69d05bf3e
Author: Jens Georg <jensg openismus com>
Date: Tue May 28 11:29:44 2013 +0200
Fix parameter indentation
libgssdp/gssdp-client.c | 14 +++++++-------
libgssdp/gssdp-resource-browser.c | 14 +++++++-------
libgssdp/gssdp-resource-group.c | 12 ++++++------
libgssdp/gssdp-socket-source.c | 14 +++++++-------
tests/test-browser.c | 6 +++---
tools/gssdp-device-sniffer.c | 12 ++++++------
6 files changed, 36 insertions(+), 36 deletions(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index dfe904d..048d5e6 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -163,7 +163,7 @@ gssdp_client_init (GSSDPClient *client)
}
static void
-gssdp_client_initable_iface_init (gpointer g_iface,
+gssdp_client_initable_iface_init (gpointer g_iface,
G_GNUC_UNUSED gpointer iface_data)
{
GInitableIface *iface = (GInitableIface *)g_iface;
@@ -171,9 +171,9 @@ gssdp_client_initable_iface_init (gpointer g_iface,
}
static gboolean
-gssdp_client_initable_init (GInitable *initable,
- G_GNUC_UNUSED GCancellable *cancellable,
- GError **error)
+gssdp_client_initable_init (GInitable *initable,
+ G_GNUC_UNUSED GCancellable *cancellable,
+ GError **error)
{
GSSDPClient *client = GSSDP_CLIENT (initable);
GError *internal_error = NULL;
@@ -1054,7 +1054,7 @@ out:
static gboolean
request_socket_source_cb (G_GNUC_UNUSED GIOChannel *source,
G_GNUC_UNUSED GIOCondition condition,
- gpointer user_data)
+ gpointer user_data)
{
GSSDPClient *client;
@@ -1066,7 +1066,7 @@ request_socket_source_cb (G_GNUC_UNUSED GIOChannel *source,
static gboolean
multicast_socket_source_cb (G_GNUC_UNUSED GIOChannel *source,
G_GNUC_UNUSED GIOCondition condition,
- gpointer user_data)
+ gpointer user_data)
{
GSSDPClient *client;
@@ -1078,7 +1078,7 @@ multicast_socket_source_cb (G_GNUC_UNUSED GIOChannel *source,
static gboolean
search_socket_source_cb (G_GNUC_UNUSED GIOChannel *source,
G_GNUC_UNUSED GIOCondition condition,
- gpointer user_data)
+ gpointer user_data)
{
GSSDPClient *client;
diff --git a/libgssdp/gssdp-resource-browser.c b/libgssdp/gssdp-resource-browser.c
index b4957fb..6a41e77 100644
--- a/libgssdp/gssdp-resource-browser.c
+++ b/libgssdp/gssdp-resource-browser.c
@@ -968,12 +968,12 @@ received_announcement (GSSDPResourceBrowser *resource_browser,
* Received a message
*/
static void
-message_received_cb (G_GNUC_UNUSED GSSDPClient *client,
- G_GNUC_UNUSED const char *from_ip,
- G_GNUC_UNUSED gushort from_port,
- _GSSDPMessageType type,
- SoupMessageHeaders *headers,
- gpointer user_data)
+message_received_cb (G_GNUC_UNUSED GSSDPClient *client,
+ G_GNUC_UNUSED const char *from_ip,
+ G_GNUC_UNUSED gushort from_port,
+ _GSSDPMessageType type,
+ SoupMessageHeaders *headers,
+ gpointer user_data)
{
GSSDPResourceBrowser *resource_browser;
@@ -1013,7 +1013,7 @@ resource_free (gpointer data)
static gboolean
clear_cache_helper (G_GNUC_UNUSED gpointer key,
- gpointer value,
+ gpointer value,
G_GNUC_UNUSED gpointer data)
{
Resource *resource;
diff --git a/libgssdp/gssdp-resource-group.c b/libgssdp/gssdp-resource-group.c
index af83212..08f2f7e 100644
--- a/libgssdp/gssdp-resource-group.c
+++ b/libgssdp/gssdp-resource-group.c
@@ -738,12 +738,12 @@ resource_group_timeout (gpointer user_data)
* Received a message
*/
static void
-message_received_cb (G_GNUC_UNUSED GSSDPClient *client,
- const char *from_ip,
- gushort from_port,
- _GSSDPMessageType type,
- SoupMessageHeaders *headers,
- gpointer user_data)
+message_received_cb (G_GNUC_UNUSED GSSDPClient *client,
+ const char *from_ip,
+ gushort from_port,
+ _GSSDPMessageType type,
+ SoupMessageHeaders *headers,
+ gpointer user_data)
{
GSSDPResourceGroup *resource_group;
const char *target, *mx_str, *version_str, *man;
diff --git a/libgssdp/gssdp-socket-source.c b/libgssdp/gssdp-socket-source.c
index 8c1e81c..a59fab1 100644
--- a/libgssdp/gssdp-socket-source.c
+++ b/libgssdp/gssdp-socket-source.c
@@ -73,7 +73,7 @@ gssdp_socket_source_do_init (GInitable *initable,
GError **error);
static void
-gssdp_socket_source_initable_init (gpointer g_iface,
+gssdp_socket_source_initable_init (gpointer g_iface,
G_GNUC_UNUSED gpointer iface_data)
{
GInitableIface *iface = (GInitableIface *)g_iface;
@@ -81,10 +81,10 @@ gssdp_socket_source_initable_init (gpointer g_iface,
}
static void
-gssdp_socket_source_get_property (GObject *object,
- guint property_id,
- G_GNUC_UNUSED GValue *value,
- GParamSpec *pspec)
+gssdp_socket_source_get_property (GObject *object,
+ guint property_id,
+ G_GNUC_UNUSED GValue *value,
+ GParamSpec *pspec)
{
/* All properties are construct-only, write-only */
switch (property_id) {
@@ -144,9 +144,9 @@ gssdp_socket_source_new (GSSDPSocketSourceType type,
}
static gboolean
-gssdp_socket_source_do_init (GInitable *initable,
+gssdp_socket_source_do_init (GInitable *initable,
G_GNUC_UNUSED GCancellable *cancellable,
- GError **error)
+ GError **error)
{
GSSDPSocketSource *self = NULL;
GInetAddress *iface_address = NULL;
diff --git a/tests/test-browser.c b/tests/test-browser.c
index 125d95f..91feaca 100644
--- a/tests/test-browser.c
+++ b/tests/test-browser.c
@@ -25,8 +25,8 @@
static void
resource_available_cb (G_GNUC_UNUSED GSSDPResourceBrowser *resource_browser,
- const char *usn,
- GList *locations)
+ const char *usn,
+ GList *locations)
{
GList *l;
@@ -40,7 +40,7 @@ resource_available_cb (G_GNUC_UNUSED GSSDPResourceBrowser *resource_browser,
static void
resource_unavailable_cb (G_GNUC_UNUSED GSSDPResourceBrowser *resource_browser,
- const char *usn)
+ const char *usn)
{
g_print ("resource unavailable\n"
" USN: %s\n",
diff --git a/tools/gssdp-device-sniffer.c b/tools/gssdp-device-sniffer.c
index 80035c5..ecc9328 100644
--- a/tools/gssdp-device-sniffer.c
+++ b/tools/gssdp-device-sniffer.c
@@ -233,12 +233,12 @@ append_packet (const gchar *from_ip,
}
static void
-on_ssdp_message (GSSDPClient *client G_GNUC_UNUSED,
- const gchar *from_ip,
- gushort from_port G_GNUC_UNUSED,
- _GSSDPMessageType type,
- SoupMessageHeaders *headers,
- gpointer user_data G_GNUC_UNUSED)
+on_ssdp_message (G_GNUC_UNUSED GSSDPClient *client,
+ G_GNUC_UNUSED const gchar *from_ip,
+ G_GNUX_UNUSED gushort from_port,
+ _GSSDPMessageType type,
+ SoupMessageHeaders *headers,
+ G_GNUC_UNUSED gpointer user_data)
{
time_t arrival_time;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]