From 9e54fc0343092a69676dc80c1a34b6f04d406047 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 1 Oct 2015 14:56:18 +0200 Subject: [PATCH] Remove duplicated definitions of payload_type_set_number and payload_type_get_number. --- coreapi/bellesip_sal/sal_impl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/coreapi/bellesip_sal/sal_impl.c b/coreapi/bellesip_sal/sal_impl.c index 817c2f4ba..bf87b83d6 100644 --- a/coreapi/bellesip_sal/sal_impl.c +++ b/coreapi/bellesip_sal/sal_impl.c @@ -779,9 +779,6 @@ MSList * sal_get_pending_auths(Sal *sal){ return ms_list_copy(sal->pending_auths); } -#define payload_type_set_number(pt,n) (pt)->user_data=(void*)((long)n); -#define payload_type_get_number(pt) ((int)(long)(pt)->user_data) - /*misc*/ void sal_get_default_local_ip(Sal *sal, int address_family, char *ip, size_t iplen){ strncpy(ip,address_family==AF_INET6 ? "::1" : "127.0.0.1",iplen);