mirror of https://gerrit.osmocom.org/libosmocore
gprs_ns2: make nsvc argument const
The nsvc isn't change. It can be const Change-Id: Ie5052f02781d7fdc639456c6f02515a927cee1f3
This commit is contained in:
parent
90ee963570
commit
22c26e0610
|
@ -245,7 +245,7 @@ int gprs_ns2_frgre_bind(struct gprs_ns2_inst *nsi,
|
|||
int dscp,
|
||||
struct gprs_ns2_vc_bind **result);
|
||||
int gprs_ns2_is_frgre_bind(struct gprs_ns2_vc_bind *bind);
|
||||
uint16_t gprs_ns2_fr_nsvc_dlci(struct gprs_ns2_vc *nsvc);
|
||||
uint16_t gprs_ns2_fr_nsvc_dlci(const struct gprs_ns2_vc *nsvc);
|
||||
|
||||
struct gprs_ns2_vc *gprs_ns2_nsvc_by_sockaddr_nse(
|
||||
struct gprs_ns2_nse *nse,
|
||||
|
|
|
@ -714,7 +714,7 @@ struct gprs_ns2_vc *gprs_ns2_fr_nsvc_by_dlci(struct gprs_ns2_vc_bind *bind,
|
|||
* \param[in] nsvc
|
||||
* \return the dlci or 0 on error. 0 is not a valid dlci.
|
||||
*/
|
||||
uint16_t gprs_ns2_fr_nsvc_dlci(struct gprs_ns2_vc *nsvc)
|
||||
uint16_t gprs_ns2_fr_nsvc_dlci(const struct gprs_ns2_vc *nsvc)
|
||||
{
|
||||
struct priv_vc *vcpriv;
|
||||
|
||||
|
|
Loading…
Reference in New Issue