[Asterisk-code-review] astobj.h: Remove from Asterisk core. (asterisk[master])

Jenkins2 asteriskteam at digium.com
Thu Dec 28 11:15:12 CST 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/7716 )

Change subject: astobj.h: Remove from Asterisk core.
......................................................................

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
---
R channels/iax2/include/astobj.h
M channels/iax2/netsock.c
2 files changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, but someone else must approve
  Richard Mudgett: Looks good to me, approved
  Jenkins2: Approved for Submit



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 8e2bd0e..17cc620 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);

-- 
To view, visit https://gerrit.asterisk.org/7716
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7e4ae96678b36b9f41d3cae14b167f110eb5d349
Gerrit-Change-Number: 7716
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171228/e38a77a7/attachment-0001.html>


More information about the asterisk-code-review mailing list