Commit d04efdb7 authored by Olivier Crête's avatar Olivier Crête

conncheck: Make conn_check_free_item() static

It is never used outside of this file.
parent f559f388
...@@ -71,6 +71,7 @@ static size_t priv_create_username (NiceAgent *agent, Stream *stream, ...@@ -71,6 +71,7 @@ static size_t priv_create_username (NiceAgent *agent, Stream *stream,
uint8_t *dest, guint dest_len, gboolean inbound); uint8_t *dest, guint dest_len, gboolean inbound);
static size_t priv_get_password (NiceAgent *agent, Stream *stream, static size_t priv_get_password (NiceAgent *agent, Stream *stream,
NiceCandidate *remote, uint8_t **password); 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) 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 ...@@ -1397,7 +1398,7 @@ int conn_check_add_for_local_candidate (NiceAgent *agent, guint stream_id, Compo
* Frees the CandidateCheckPair structure pointer to * Frees the CandidateCheckPair structure pointer to
* by 'user data'. Compatible with g_slist_foreach(). * 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; CandidateCheckPair *pair = data;
g_assert (user_data == NULL); g_assert (user_data == NULL);
......
...@@ -83,7 +83,6 @@ struct _CandidateCheckPair ...@@ -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_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); 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); void conn_check_free (NiceAgent *agent);
gboolean conn_check_schedule_next (NiceAgent *agent); gboolean conn_check_schedule_next (NiceAgent *agent);
int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair); int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment