<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7628">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">netsock: Remove from Asterisk core.<br><br>This moves netsock.c / netsock.h to the chan_iax2 module. netsock.h has<br>been marked deprecated since 13.0.0, chan_iax2 is the only remaining<br>user.<br><br>Change-Id: I28c6578043bac18de5ea608e136acec4f83d5dd3<br>---<br>M channels/chan_iax2.c<br>R channels/iax2/include/netsock.h<br>R channels/iax2/netsock.c<br>3 files changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/7628/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c<br>index 69261f3..be24ce3 100644<br>--- a/channels/chan_iax2.c<br>+++ b/channels/chan_iax2.c<br>@@ -99,7 +99,6 @@<br> #include "asterisk/localtime.h"<br> #include "asterisk/dnsmgr.h"<br> #include "asterisk/devicestate.h"<br>-#include "asterisk/netsock.h"<br> #include "asterisk/stringfields.h"<br> #include "asterisk/linkedlists.h"<br> #include "asterisk/astobj2.h"<br>@@ -122,6 +121,7 @@<br> #include "iax2/include/provision.h"<br> #include "iax2/include/codec_pref.h"<br> #include "iax2/include/format_compatibility.h"<br>+#include "iax2/include/netsock.h"<br> <br> #include "jitterbuf.h"<br> <br>diff --git a/include/asterisk/netsock.h b/channels/iax2/include/netsock.h<br>similarity index 100%<br>rename from include/asterisk/netsock.h<br>rename to channels/iax2/include/netsock.h<br>diff --git a/main/netsock.c b/channels/iax2/netsock.c<br>similarity index 98%<br>rename from main/netsock.c<br>rename to channels/iax2/netsock.c<br>index 91f7e73..8e2bd0e 100644<br>--- a/main/netsock.c<br>+++ b/channels/iax2/netsock.c<br>@@ -43,7 +43,7 @@<br> #include <ifaddrs.h><br> #endif<br> <br>-#include "asterisk/netsock.h"<br>+#include "include/netsock.h"<br> #include "asterisk/netsock2.h"<br> #include "asterisk/utils.h"<br> #include "asterisk/astobj.h"<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7628">change 7628</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7628"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I28c6578043bac18de5ea608e136acec4f83d5dd3 </div>
<div style="display:none"> Gerrit-Change-Number: 7628 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>