diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-04-24 20:39:20 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-04-24 20:42:54 -0400 |
commit | d04efdb7ac5a8d41536dc90ef3f2a8bb5f792de9 (patch) | |
tree | 4b0c8676c4f0b05053d9a8e723d06911ec8adf51 | |
parent | f559f388c694088433d13cdf0295bf00db866f09 (diff) |
conncheck: Make conn_check_free_item() static
It is never used outside of this file.
-rw-r--r-- | agent/conncheck.c | 3 | ||||
-rw-r--r-- | 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); |