<p>Vadim Yanitskiy has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9236">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">include/osmocore: remove unused headers<br><br>Both removed headers are not used anywhere, and probably left<br>from the time when there was no libosmocore as a shared library.<br><br>Change-Id: I821e2958e07176c1031c636019dffd1cee62bb10<br>---<br>D include/osmocore/rsl.h<br>D include/osmocore/utils.h<br>2 files changed, 0 insertions(+), 41 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/36/9236/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocore/rsl.h b/include/osmocore/rsl.h</span><br><span>deleted file mode 100644</span><br><span>index c9375a7..0000000</span><br><span>--- a/include/osmocore/rsl.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,24 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef _OSMOCORE_RSL_H</span><br><span style="color: hsl(0, 100%, 40%);">-#define _OSMOCORE_RSL_H</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include <stdint.h></span><br><span style="color: hsl(0, 100%, 40%);">-#include <osmocom/core/utils.h></span><br><span style="color: hsl(0, 100%, 40%);">-#include <osmocom/gsm/protocol/gsm_08_58.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-void rsl_init_rll_hdr(struct abis_rsl_rll_hdr *dh, uint8_t msg_type);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-extern const struct tlv_definition rsl_att_tlvdef;</span><br><span style="color: hsl(0, 100%, 40%);">-#define rsl_tlv_parse(dec, buf, len)     \</span><br><span style="color: hsl(0, 100%, 40%);">-                       tlv_parse(dec, &rsl_att_tlvdef, buf, len, 0, 0)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/* encode channel number as per Section 9.3.1 */</span><br><span style="color: hsl(0, 100%, 40%);">-uint8_t rsl_enc_chan_nr(uint8_t type, uint8_t subch, uint8_t timeslot);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-const struct value_string rsl_rlm_cause_strs[];</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-const char *rsl_err_name(uint8_t err);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-/* Section 3.3.2.3 TS 05.02. I think this looks like a table */</span><br><span style="color: hsl(0, 100%, 40%);">-int rsl_ccch_conf_to_bs_cc_chans(int ccch_conf);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif /* _OSMOCORE_RSL_H */</span><br><span>diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h</span><br><span>deleted file mode 100644</span><br><span>index cf3b460..0000000</span><br><span>--- a/include/osmocore/utils.h</span><br><span>+++ /dev/null</span><br><span>@@ -1,17 +0,0 @@</span><br><span style="color: hsl(0, 100%, 40%);">-#ifndef OSMOCORE_UTIL_H</span><br><span style="color: hsl(0, 100%, 40%);">-#define OSMOCORE_UTIL_H</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#include <stdint.h></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-struct value_string {</span><br><span style="color: hsl(0, 100%, 40%);">-     unsigned int value;</span><br><span style="color: hsl(0, 100%, 40%);">-     const char *str;</span><br><span style="color: hsl(0, 100%, 40%);">-};</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-const char *get_value_string(const struct value_string *vs, uint32_t val);</span><br><span style="color: hsl(0, 100%, 40%);">-int get_string_value(const struct value_string *vs, const char *str);</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-#endif</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9236">change 9236</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/9236"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I821e2958e07176c1031c636019dffd1cee62bb10 </div>
<div style="display:none"> Gerrit-Change-Number: 9236 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>