summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-05-23 20:30:17 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-23 20:30:17 +0200
commit61dc63e354e1a68317f72d485bea4b6a0194e863 (patch)
treeb0d1b4bfad8ef24c2ddb314d5394c918d39d9a0a
parentf7a1bcce0cea50650517e305d59e674475f913d0 (diff)
rename abis_nm_adm_name() to abis_nm_adm_state_name()
-rw-r--r--include/osmocom/gsm/abis_nm.h2
-rw-r--r--src/gsm/abis_nm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/gsm/abis_nm.h b/include/osmocom/gsm/abis_nm.h
index 04e4575d..fc096dc2 100644
--- a/include/osmocom/gsm/abis_nm.h
+++ b/include/osmocom/gsm/abis_nm.h
@@ -18,7 +18,7 @@ const char *abis_nm_obj_class_name(uint8_t oc);
const char *abis_nm_opstate_name(uint8_t os);
const char *abis_nm_avail_name(uint8_t avail);
const char *abis_nm_test_name(uint8_t test);
-const char *abis_nm_adm_name(uint8_t adm);
+const char *abis_nm_adm_state_name(uint8_t adm);
void abis_nm_debugp_foh(int ss, struct abis_om_fom_hdr *foh);
#endif /* _OSMO_GSM_ABIS_NM_H */
diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c
index acea4ed5..8e769df8 100644
--- a/src/gsm/abis_nm.c
+++ b/src/gsm/abis_nm.c
@@ -392,7 +392,7 @@ static const struct value_string abis_nm_adm_state_names[] = {
{ 0, NULL }
};
-const char *abis_nm_adm_name(uint8_t adm)
+const char *abis_nm_adm_state_name(uint8_t adm)
{
return get_value_string(abis_nm_adm_state_names, adm);
}