From c2529a352c775d4c82b8acb64407b9c5f821fcd7 Mon Sep 17 00:00:00 2001 From: Corey Farrell <git@cfware.com> Date: Fri, 22 Dec 2017 15:00:14 -0500 Subject: [PATCH] astobj.h: Remove from Asterisk core. This is the old ASTOBJ macro's which are no longer used except by the deprecated netsock.c. Move it to the chan_iax2 include folder so it does not get used elsewhere. Change-Id: I7e4ae96678b36b9f41d3cae14b167f110eb5d349 --- {include/asterisk => channels/iax2/include}/astobj.h | 0 channels/iax2/netsock.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {include/asterisk => channels/iax2/include}/astobj.h (100%) diff --git a/include/asterisk/astobj.h b/channels/iax2/include/astobj.h similarity index 100% rename from include/asterisk/astobj.h rename to channels/iax2/include/astobj.h diff --git a/channels/iax2/netsock.c b/channels/iax2/netsock.c index 8e2bd0e122..17cc62039a 100644 --- a/channels/iax2/netsock.c +++ b/channels/iax2/netsock.c @@ -46,7 +46,7 @@ #include "include/netsock.h" #include "asterisk/netsock2.h" #include "asterisk/utils.h" -#include "asterisk/astobj.h" +#include "include/astobj.h" struct ast_netsock { ASTOBJ_COMPONENTS(struct ast_netsock); -- GitLab