mirror of https://gerrit.osmocom.org/libosmocore
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
This commit is contained in:
parent
dab4db0217
commit
dfd85137cf
|
@ -91,3 +91,8 @@ void _osmo_mncc_log(int subsys, int level, const char *file, int line, const cha
|
|||
|
||||
#define osmo_mncc_log(ss, level, prefix, msg, len) \
|
||||
_osmo_mncc_log(ss, level, __BASE_FILE__, __LINE__, prefix, msg, len);
|
||||
|
||||
extern const struct value_string osmo_mncc_names[];
|
||||
static inline const char *osmo_mncc_name(uint32_t msg_type) {
|
||||
return get_value_string(osmo_mncc_names, msg_type);
|
||||
}
|
||||
|
|
|
@ -466,6 +466,7 @@ osmo_imsi_str_valid;
|
|||
osmo_msisdn_str_valid;
|
||||
|
||||
osmo_mncc_stringify;
|
||||
osmo_mncc_names;
|
||||
_osmo_mncc_log;
|
||||
|
||||
local: *;
|
||||
|
|
|
@ -244,10 +244,6 @@ const struct value_string osmo_mncc_names[] = {
|
|||
{ 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;
|
||||
|
|
Loading…
Reference in New Issue