diff options
-rw-r--r-- | src/gsm/gsm48.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gsm/gsm48.c b/src/gsm/gsm48.c index b4740cf0..46f0b2f8 100644 --- a/src/gsm/gsm48.c +++ b/src/gsm/gsm48.c @@ -162,6 +162,11 @@ static const struct value_string rr_cause_names[] = { { 0, NULL }, }; +const char *rr_cause_name(uint8_t cause) +{ + return get_value_string(rr_cause_names, cause); +} + /* FIXME: convert to value_string */ static const char *cc_state_names[32] = { "NULL", @@ -250,11 +255,6 @@ const char *gsm48_cc_msg_name(uint8_t msgtype) return get_value_string(cc_msg_names, msgtype); } -const char *rr_cause_name(uint8_t cause) -{ - return get_value_string(rr_cause_names, cause); -} - const struct value_string gsm48_chan_mode_names[] = { { GSM48_CMODE_SIGN, "SIGNALLING" }, { GSM48_CMODE_SPEECH_V1, "SPEECH_V1" }, |