ranap_msg_factory: Mark 'RANAP_Cause_t *' as const

This commit is contained in:
Harald Welte 2016-01-01 16:21:05 +01:00
parent 37223d8218
commit 1cdb81dd98
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ static long *new_long(long in)
/*! \brief generate RANAP RESET message */
struct msgb *ranap_new_msg_reset(RANAP_CN_DomainIndicator_t domain,
RANAP_Cause_t *cause)
const RANAP_Cause_t *cause)
{
RANAP_ResetIEs_t ies;
RANAP_Reset_t out;

View File

@ -28,7 +28,7 @@ struct msgb *ranap_new_msg_rab_assign_data(uint8_t rab_id, uint32_t gtp_ip, uint
/*! \brief generate RANAP RESET message */
struct msgb *ranap_new_msg_reset(RANAP_CN_DomainIndicator_t domain,
RANAP_Cause_t *cause);
const RANAP_Cause_t *cause);
/*! \brief generate RANAP RESET ACK message */
struct msgb *ranap_new_msg_reset_ack(RANAP_CN_DomainIndicator_t domain,