diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-27 13:22:03 +0100 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2021-01-29 11:54:18 +0000 |
commit | 1e77ca88af8f07290cd1a11f11f3db916c9c3c79 (patch) | |
tree | df90dd5c5c717b32ad94950cbc647ebff3b4745f | |
parent | 54211b1e1bf8e669a43602cb1902067599d0b622 (diff) |
tbf: Make tbf_ms() param const
Change-Id: I041c564b15d17d05ce97ea0085fcd9192a346578
-rw-r--r-- | src/tbf.cpp | 2 | ||||
-rw-r--r-- | src/tbf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp index d2d55f23..0fec476c 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -1165,7 +1165,7 @@ struct llist_head *tbf_bts_list(struct gprs_rlcmac_tbf *tbf) return &tbf->m_bts_list.list; } -struct GprsMs *tbf_ms(struct gprs_rlcmac_tbf *tbf) +struct GprsMs *tbf_ms(const struct gprs_rlcmac_tbf *tbf) { return tbf->ms(); } @@ -196,7 +196,7 @@ enum gprs_rlcmac_tbf_direction tbf_direction(const struct gprs_rlcmac_tbf *tbf); void tbf_set_ms(struct gprs_rlcmac_tbf *tbf, struct GprsMs *ms); struct llist_head *tbf_ms_list(struct gprs_rlcmac_tbf *tbf); struct llist_head *tbf_bts_list(struct gprs_rlcmac_tbf *tbf); -struct GprsMs *tbf_ms(struct gprs_rlcmac_tbf *tbf); +struct GprsMs *tbf_ms(const struct gprs_rlcmac_tbf *tbf); bool tbf_timers_pending(struct gprs_rlcmac_tbf *tbf, enum tbf_timers t); void tbf_free(struct gprs_rlcmac_tbf *tbf); struct gprs_llc *tbf_llc(struct gprs_rlcmac_tbf *tbf); |