telepathy-idle: Make some internal functions properly static

Simon McVittie smcv at kemper.freedesktop.org
Wed May 30 05:08:46 PDT 2012


Module: telepathy-idle
Branch: master
Commit: c3de9e89b571782e393d0f3b1a8236d34beec9d5
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=c3de9e89b571782e393d0f3b1a8236d34beec9d5

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu May 10 14:15:54 2012 +0100

Make some internal functions properly static

Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
Reviewed-by: Xavier Claessens <xavier.claessens at collabora.co.uk>

---

 src/idle-connection.c |    3 ++-
 src/protocol.c        |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/idle-connection.c b/src/idle-connection.c
index 40d5777..289a993 100644
--- a/src/idle-connection.c
+++ b/src/idle-connection.c
@@ -1168,7 +1168,8 @@ static void connection_disconnect_cb(IdleConnection *conn, TpConnectionStatusRea
 	idle_connection_clear_queue_timeout (conn);
 }
 
-void _queue_alias_changed(IdleConnection *conn, TpHandle handle, const gchar *alias) {
+static void
+_queue_alias_changed(IdleConnection *conn, TpHandle handle, const gchar *alias) {
 	IdleConnectionPrivate *priv = IDLE_CONNECTION_GET_PRIVATE(conn);
 
 	if (!priv->queued_aliases_owners) {
diff --git a/src/protocol.c b/src/protocol.c
index 4a67fe1..8feda4e 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -40,7 +40,7 @@
 
 G_DEFINE_TYPE (IdleProtocol, idle_protocol, TP_TYPE_BASE_PROTOCOL)
 
-gboolean
+static gboolean
 filter_nick (const TpCMParamSpec *paramspec,
     GValue *value,
     GError **error)



More information about the telepathy-commits mailing list