mncc: properly export osmo_mncc_name()
For some strange reason, the osmo_mncc_name() inline function
was not in the mncc.h header, but in the mncc.c file. Let's fix that.
Change-Id: I2c3666510c981dffa4ba25bed517fd7ebd1250f5
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index 8c64020..c4b1b75 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -466,6 +466,7 @@
osmo_msisdn_str_valid;
osmo_mncc_stringify;
+osmo_mncc_names;
_osmo_mncc_log;
local: *;
diff --git a/src/gsm/mncc.c b/src/gsm/mncc.c
index fa4726c..938cf9a 100644
--- a/src/gsm/mncc.c
+++ b/src/gsm/mncc.c
@@ -244,10 +244,6 @@
{ 0, NULL },
};
-static inline const char *osmo_mncc_name(uint32_t msg_type) {
- return get_value_string(osmo_mncc_names, msg_type);
-}
-
static void mncc_dump_rtp(struct msgb *str, const uint8_t *msg, unsigned int len)
{
const struct gsm_mncc_rtp *rtp = (const struct gsm_mncc_rtp *) msg;