aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-06-08 18:46:04 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-06-18 07:53:03 +0200
commitd0d204aaa25cb968405b8227007adf91b9939311 (patch)
treec0bcd6ffd0f760388c49004ecc85907782bcee59 /include
parentf0ff9a67117dc22d838769fe6eef67778abd43b9 (diff)
cosmetic / linking: move str_to_imsi() out of abis_rsl.c
Move to gsm_04_08_utils.c so that it's possible to use it without linking/stubbing all of RSL. Change-Id: I6e90831d7e618ce3c8e7417082a82c97f6681668
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/abis_rsl.h1
-rw-r--r--include/osmocom/bsc/gsm_04_08_utils.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/bsc/abis_rsl.h b/include/osmocom/bsc/abis_rsl.h
index fc212380b..2fe8c38e7 100644
--- a/include/osmocom/bsc/abis_rsl.h
+++ b/include/osmocom/bsc/abis_rsl.h
@@ -68,7 +68,6 @@ int rsl_ipacc_pdch_activate(struct gsm_bts_trx_ts *ts, int act);
int abis_rsl_rcvmsg(struct msgb *msg);
-uint64_t str_to_imsi(const char *imsi_str);
int rsl_release_request(struct gsm_lchan *lchan, uint8_t link_id,
enum rsl_rel_mode release_mode);
diff --git a/include/osmocom/bsc/gsm_04_08_utils.h b/include/osmocom/bsc/gsm_04_08_utils.h
index bdfca71a2..4349a37cc 100644
--- a/include/osmocom/bsc/gsm_04_08_utils.h
+++ b/include/osmocom/bsc/gsm_04_08_utils.h
@@ -39,3 +39,5 @@ static inline struct msgb *gsm48_msgb_alloc_name(const char *name)
return msgb_alloc_headroom(GSM48_ALLOC_SIZE, GSM48_ALLOC_HEADROOM,
name);
}
+
+uint64_t str_to_imsi(const char *imsi_str);