Commit 79d42150 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Remove useless function declarations and fix warning message to point to the good function.

parent 134a8017
......@@ -312,6 +312,8 @@ typedef struct belle_sip_interface_desc{
typedef struct belle_sip_object_pool belle_sip_object_pool_t;
* Push a new object pool for use for creation of new objects.
* When no longer needed, this pool can be destroyed with belle_sip_object_unref().
......@@ -322,5 +324,7 @@ belle_sip_object_pool_t * belle_sip_object_pool_get_current();
int belle_sip_object_pool_cleanable(belle_sip_object_pool_t *pool);
void belle_sip_object_pool_clean(belle_sip_object_pool_t *obj);
......@@ -97,10 +97,6 @@ BELLESIP_EXPORT void belle_sip_stack_set_default_dscp(belle_sip_stack_t *stack,
BELLESIP_EXPORT int belle_sip_stack_get_default_dscp(belle_sip_stack_t *stack);
BELLESIP_EXPORT void belle_sip_stack_push_pool(belle_sip_stack_t *stack);
BELLESIP_EXPORT void belle_sip_stack_pop_pool(belle_sip_stack_t *stack);
......@@ -509,7 +509,7 @@ belle_sip_object_pool_t *belle_sip_object_pool_get_current(void){
if (*pools==NULL ){
if (first_time) {
belle_sip_warning("There is no object pool created in thread [%ul]. "
"Use belle_sip_stack_push_pool() to create one. Unowned objects not unref'd will be leaked.",
"Use belle_sip_object_pool_push() to create one. Unowned objects not unref'd will be leaked.",
(unsigned long)belle_sip_thread_self());
return NULL;
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