<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24938">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp_protocol: forward declare mgcp_endpoint<br><br>The function mgcp_rtp_end_config() takes an mgcp_endpoint as<br>parameter. The header file does not declare the mgcp_endp struct<br>and it also does not include mgcp_endp.h because that also would<br>cause problems. Since the endp parameter in mgcp_rtp_end_config()<br>is only a pointer we can simply forward declare it.<br><br>This patch will currently not change anythig, but it will prevent<br>compiler warnings when we remove the endp pointer from<br>struct mgcp_parse_data in a follow up patch<br><br>Related: SYS#5535<br>Change-Id: I07a4d6f9d5334b1f4cf4b262482b8a67b1384398<br>---<br>M include/osmocom/mgcp/mgcp_protocol.h<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/38/24938/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/mgcp/mgcp_protocol.h b/include/osmocom/mgcp/mgcp_protocol.h</span><br><span>index edd0554..cdce02d 100644</span><br><span>--- a/include/osmocom/mgcp/mgcp_protocol.h</span><br><span>+++ b/include/osmocom/mgcp/mgcp_protocol.h</span><br><span>@@ -20,6 +20,7 @@</span><br><span> int check_local_cx_options(void *ctx, const char *options);</span><br><span> </span><br><span> struct mgcp_rtp_end;</span><br><span style="color: hsl(120, 100%, 40%);">+struct mgcp_endpoint;</span><br><span> void mgcp_rtp_end_config(struct mgcp_endpoint *endp, int expect_ssrc_change,</span><br><span>                       struct mgcp_rtp_end *rtp);</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24938">change 24938</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/c/osmo-mgw/+/24938"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I07a4d6f9d5334b1f4cf4b262482b8a67b1384398 </div>
<div style="display:none"> Gerrit-Change-Number: 24938 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>