diff options
-rw-r--r-- | include/osmocom/gprs/gprs_ns2.h | 2 | ||||
-rw-r--r-- | src/gb/gprs_ns2_fr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h index 8dd56998..ef9a56a9 100644 --- a/include/osmocom/gprs/gprs_ns2.h +++ b/include/osmocom/gprs/gprs_ns2.h @@ -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, diff --git a/src/gb/gprs_ns2_fr.c b/src/gb/gprs_ns2_fr.c index b62b5af6..925d5edf 100644 --- a/src/gb/gprs_ns2_fr.c +++ b/src/gb/gprs_ns2_fr.c @@ -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; |