[Telepathy-commits] [telepathy-gabble/master] Make codec freeing functions static

Will Thompson will.thompson at collabora.co.uk
Thu Mar 5 06:56:35 PST 2009


---
 src/jingle-media-rtp.c |    4 ++--
 src/jingle-media-rtp.h |    2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/jingle-media-rtp.c b/src/jingle-media-rtp.c
index 8e05c3c..bd03c2d 100644
--- a/src/jingle-media-rtp.c
+++ b/src/jingle-media-rtp.c
@@ -109,7 +109,7 @@ jingle_media_rtp_codec_new (guint id, const gchar *name,
   return p;
 }
 
-void
+static void
 jingle_media_rtp_codec_free (JingleCodec *p)
 {
   g_hash_table_destroy (p->params);
@@ -117,7 +117,7 @@ jingle_media_rtp_codec_free (JingleCodec *p)
   g_slice_free (JingleCodec, p);
 }
 
-void
+static void
 jingle_media_rtp_free_codecs (GList *codecs)
 {
   while (codecs != NULL)
diff --git a/src/jingle-media-rtp.h b/src/jingle-media-rtp.h
index 1fe972c..77e6dca 100644
--- a/src/jingle-media-rtp.h
+++ b/src/jingle-media-rtp.h
@@ -77,8 +77,6 @@ GList *gabble_jingle_media_rtp_get_remote_codecs (GabbleJingleMediaRtp *self);
 
 JingleCodec * jingle_media_rtp_codec_new (guint id, const gchar *name,
     guint clockrate, guint channels, GHashTable *params);
-void jingle_media_rtp_codec_free (JingleCodec *p);
-void jingle_media_rtp_free_codecs (GList *codecs);
 
 #endif /* __JINGLE_MEDIA_RTP_H__ */
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list