aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-03-17 14:46:19 +0100
committerHarald Welte <laforge@gnumonks.org>2016-03-17 16:49:15 +0100
commitea345cdaaa23f3e0472deccac9982014e632aba9 (patch)
tree08a1be7c524adcfeb44c404b11b3f42cbcd7debc /src
parentc79b3972faf900e3d843ddc13601e6178e3131ff (diff)
Rename struct to better match libosmocore conventions
Diffstat (limited to 'src')
-rw-r--r--src/gsm/sysinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gsm/sysinfo.c b/src/gsm/sysinfo.c
index e4d0ddf7..42e717fe 100644
--- a/src/gsm/sysinfo.c
+++ b/src/gsm/sysinfo.c
@@ -131,7 +131,7 @@ const struct value_string osmo_sitype_strs[_MAX_SYSINFO_TYPE] = {
* \param[in] meas_bw measurement bandwith value
* \returns 0 on success, error otherwise
*/
-int osmo_earfcn_add(struct earfcn *e, uint16_t arfcn, uint8_t meas_bw)
+int osmo_earfcn_add(struct osmo_earfcn_si2q *e, uint16_t arfcn, uint8_t meas_bw)
{
size_t i;
for (i = 0; i < e->length; i++) {
@@ -150,7 +150,7 @@ int osmo_earfcn_add(struct earfcn *e, uint16_t arfcn, uint8_t meas_bw)
* \param[in] arfcn EARFCN value, 16 bits
* \returns 0 on success, error otherwise
*/
-int osmo_earfcn_del(struct earfcn *e, uint16_t arfcn)
+int osmo_earfcn_del(struct osmo_earfcn_si2q *e, uint16_t arfcn)
{
size_t i;
for (i = 0; i < e->length; i++) {
@@ -166,7 +166,7 @@ int osmo_earfcn_del(struct earfcn *e, uint16_t arfcn)
/*! \brief Initialize earfcn struct
* \param[in,out] e earfcn struct
*/
-void osmo_earfcn_init(struct earfcn *e)
+void osmo_earfcn_init(struct osmo_earfcn_si2q *e)
{
size_t i;
for (i = 0; i < e->length; i++) {