[Pkg-telepathy-commits] [libnice] 230/265: conncheck: Make conn_check_free_item() static
Simon McVittie
smcv at debian.org
Wed May 14 12:05:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository libnice.
commit d04efdb7ac5a8d41536dc90ef3f2a8bb5f792de9
Author: Olivier Crête <olivier.crete at collabora.com>
Date: Thu Apr 24 20:39:20 2014 -0400
conncheck: Make conn_check_free_item() static
It is never used outside of this file.
---
agent/conncheck.c | 3 ++-
agent/conncheck.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/agent/conncheck.c b/agent/conncheck.c
index 1dc0b5b..df9c079 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -71,6 +71,7 @@ static size_t priv_create_username (NiceAgent *agent, Stream *stream,
uint8_t *dest, guint dest_len, gboolean inbound);
static size_t priv_get_password (NiceAgent *agent, Stream *stream,
NiceCandidate *remote, uint8_t **password);
+static void conn_check_free_item (gpointer data, gpointer user_data);
static int priv_timer_expired (GTimeVal *timer, GTimeVal *now)
{
@@ -1397,7 +1398,7 @@ int conn_check_add_for_local_candidate (NiceAgent *agent, guint stream_id, Compo
* Frees the CandidateCheckPair structure pointer to
* by 'user data'. Compatible with g_slist_foreach().
*/
-void conn_check_free_item (gpointer data, gpointer user_data)
+static void conn_check_free_item (gpointer data, gpointer user_data)
{
CandidateCheckPair *pair = data;
g_assert (user_data == NULL);
diff --git a/agent/conncheck.h b/agent/conncheck.h
index e569f03..9703e1f 100644
--- a/agent/conncheck.h
+++ b/agent/conncheck.h
@@ -83,7 +83,6 @@ struct _CandidateCheckPair
int conn_check_add_for_candidate (NiceAgent *agent, guint stream_id, Component *component, NiceCandidate *remote);
int conn_check_add_for_local_candidate (NiceAgent *agent, guint stream_id, Component *component, NiceCandidate *local);
-void conn_check_free_item (gpointer data, gpointer user_data);
void conn_check_free (NiceAgent *agent);
gboolean conn_check_schedule_next (NiceAgent *agent);
int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git
More information about the Pkg-telepathy-commits
mailing list