[Telepathy-commits] [telepathy-salut/master] Coding style: function declarations at the begin of the .c file should have the "static void" on their own line
Alban Crequy
alban.crequy at collabora.co.uk
Tue Nov 25 03:59:22 PST 2008
---
src/salut-tubes-channel.c | 39 +++++++++++++++------------------------
src/tube-stream.c | 3 +--
2 files changed, 16 insertions(+), 26 deletions(-)
diff --git a/src/salut-tubes-channel.c b/src/salut-tubes-channel.c
index 9aac0d1..f678645 100644
--- a/src/salut-tubes-channel.c
+++ b/src/salut-tubes-channel.c
@@ -66,10 +66,8 @@
(dbus_g_type_get_struct ("GValueArray", \
G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID))
-static void
-channel_iface_init (gpointer g_iface, gpointer iface_data);
-static void
-tubes_iface_init (gpointer g_iface, gpointer iface_data);
+static void channel_iface_init (gpointer g_iface, gpointer iface_data);
+static void tubes_iface_init (gpointer g_iface, gpointer iface_data);
G_DEFINE_TYPE_WITH_CODE (SalutTubesChannel, salut_tubes_channel, G_TYPE_OBJECT,
G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_DBUS_PROPERTIES,
@@ -81,26 +79,19 @@ G_DEFINE_TYPE_WITH_CODE (SalutTubesChannel, salut_tubes_channel, G_TYPE_OBJECT,
G_IMPLEMENT_INTERFACE (TP_TYPE_CHANNEL_IFACE, NULL);
);
-static void
-xmpp_connection_manager_new_connection_cb (SalutXmppConnectionManager *mgr,
- GibberXmppConnection *conn,
- SalutContact *contact,
- gpointer user_data);
+static void xmpp_connection_manager_new_connection_cb (
+ SalutXmppConnectionManager *mgr, GibberXmppConnection *conn,
+ SalutContact *contact, gpointer user_data);
-static void
-xmpp_connection_manager_connection_closed_cb (SalutXmppConnectionManager *mgr,
- GibberXmppConnection *conn,
- SalutContact *contact,
- gpointer user_data);
+static void xmpp_connection_manager_connection_closed_cb (
+ SalutXmppConnectionManager *mgr, GibberXmppConnection *conn,
+ SalutContact *contact, gpointer user_data);
-static void
-xmpp_connection_manager_connection_closing_cb (SalutXmppConnectionManager *mgr,
- GibberXmppConnection *conn,
- SalutContact *contact,
- gpointer user_data);
+static void xmpp_connection_manager_connection_closing_cb (
+ SalutXmppConnectionManager *mgr, GibberXmppConnection *conn,
+ SalutContact *contact, gpointer user_data);
-static void
-_send_channel_iq_tubes (SalutTubesChannel *self);
+static void _send_channel_iq_tubes (SalutTubesChannel *self);
/* Channel state */
typedef enum
diff --git a/src/tube-stream.c b/src/tube-stream.c
index 31eaf27..dd8f1d0 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -54,8 +54,7 @@
#include "salut-contact-manager.h"
#include "salut-xmpp-connection-manager.h"
-static void
-tube_iface_init (gpointer g_iface, gpointer iface_data);
+static void tube_iface_init (gpointer g_iface, gpointer iface_data);
G_DEFINE_TYPE_WITH_CODE (SalutTubeStream, salut_tube_stream, G_TYPE_OBJECT,
G_IMPLEMENT_INTERFACE (SALUT_TYPE_TUBE_IFACE, tube_iface_init));
--
1.5.6.5
More information about the Telepathy-commits
mailing list