constify {hnbap_rua}_cause_str() argument
ranap_cause_str() already had a const input argument, but the HNBAP and RUA equivalents for some reason had a non-const input. Change-Id: I7db92b51847c282d23d568970dfd2bedecdea486
This commit is contained in:
parent
da6d72b47a
commit
c16281f5e7
|
@ -149,6 +149,6 @@ struct msgb *hnbap_generate_unsuccessful_outcome(
|
|||
HNBAP_IE_t *hnbap_new_ie(HNBAP_ProtocolIE_ID_t id, HNBAP_Criticality_t criticality,
|
||||
asn_TYPE_descriptor_t *type, void *sptr);
|
||||
|
||||
char *hnbap_cause_str(HNBAP_Cause_t *cause);
|
||||
char *hnbap_cause_str(const HNBAP_Cause_t *cause);
|
||||
|
||||
void hnbap_set_log_area(int log_area);
|
||||
|
|
|
@ -69,6 +69,6 @@ struct msgb *rua_generate_unsuccessful_outcome(
|
|||
RUA_IE_t *rua_new_ie(RUA_ProtocolIE_ID_t id, RUA_Criticality_t criticality,
|
||||
asn_TYPE_descriptor_t *type, void *sptr);
|
||||
|
||||
char *rua_cause_str(RUA_Cause_t *cause);
|
||||
char *rua_cause_str(const RUA_Cause_t *cause);
|
||||
|
||||
void rua_set_log_area(int log_area);
|
||||
|
|
|
@ -78,7 +78,7 @@ static const struct value_string hnbap_cause_misc_vals[] = {
|
|||
{ 0, NULL }
|
||||
};
|
||||
|
||||
char *hnbap_cause_str(HNBAP_Cause_t *cause)
|
||||
char *hnbap_cause_str(const HNBAP_Cause_t *cause)
|
||||
{
|
||||
static char buf[32];
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ static const struct value_string rua_cause_misc_vals[] = {
|
|||
{ 0, NULL }
|
||||
};
|
||||
|
||||
char *rua_cause_str(RUA_Cause_t *cause)
|
||||
char *rua_cause_str(const RUA_Cause_t *cause)
|
||||
{
|
||||
static char buf[32];
|
||||
|
||||
|
|
Loading…
Reference in New Issue