<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11620">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">IPA: make deprecation warning external<br><br>Although ipa_ccm_idtag_parse_off() is deprecated, it's used to implement<br>ipa_ccm_idtag_parse() in libosmocore which leads to unnecessary<br>deprecation warning. There's no obvious way to replace it with<br>recommended functions because ipa_ccm_idtag_parse_off() is not a wrapper<br>around ipa_ccm_id_{get,resp}_parse() but an independent<br>implementation. Let's suppress this warning inside libosmocore but keep<br>deprecation for external projects.<br><br>Change-Id: I793c56392834ff2c8cc3a08a9a5c18fbcd4be882<br>---<br>M include/osmocom/gsm/ipa.h<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/20/11620/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/gsm/ipa.h b/include/osmocom/gsm/ipa.h</span><br><span>index 93cb1bf..183f8f5 100644</span><br><span>--- a/include/osmocom/gsm/ipa.h</span><br><span>+++ b/include/osmocom/gsm/ipa.h</span><br><span>@@ -29,7 +29,7 @@</span><br><span> int ipa_ccm_idtag_parse(struct tlv_parsed *dec, unsigned char *buf, int len)</span><br><span>   OSMO_DEPRECATED("Use ipa_ccm_id_{get,resp}_parse instead");</span><br><span> int ipa_ccm_idtag_parse_off(struct tlv_parsed *dec, unsigned char *buf, int len, const int len_offset)</span><br><span style="color: hsl(0, 100%, 40%);">- OSMO_DEPRECATED("Use ipa_ccm_id_{get,resp}_parse instead");</span><br><span style="color: hsl(120, 100%, 40%);">+ OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE("Use ipa_ccm_id_{get,resp}_parse instead");</span><br><span> </span><br><span> /* parse payload of IPA CCM ID GET into a osmocom TLV style representation */</span><br><span> int ipa_ccm_id_get_parse(struct tlv_parsed *dec, const uint8_t *buf, unsigned int len);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11620">change 11620</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/11620"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I793c56392834ff2c8cc3a08a9a5c18fbcd4be882 </div>
<div style="display:none"> Gerrit-Change-Number: 11620 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>