diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-16 10:18:42 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-22 10:39:06 +0200 |
commit | 1e50a3dadef7823b6f50bd387f84f324029a217d (patch) | |
tree | 1a45f77b8f629a6a984a8d58721030b7a38987c4 /src/gprs_bssgp_pcu.cpp | |
parent | 70b96aa232bd9784a94247bf7b193cb2147ada9d (diff) |
llc: Make timeval arguments const
Some struct timeval pointer arguments do not have the const qualifier,
albeit the methods do not write to the structures. The next commit
will change related pointers to const, so this commit provides the
required constness.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gprs_bssgp_pcu.cpp')
-rw-r--r-- | src/gprs_bssgp_pcu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp index 802ca9a4..dcb1b5b8 100644 --- a/src/gprs_bssgp_pcu.cpp +++ b/src/gprs_bssgp_pcu.cpp @@ -804,8 +804,8 @@ struct bssgp_bvc_ctx *gprs_bssgp_pcu_current_bctx(void) return the_pcu.bctx; } -void gprs_bssgp_update_queue_delay(struct timeval *tv_recv, - struct timeval *tv_now) +void gprs_bssgp_update_queue_delay(const struct timeval *tv_recv, + const struct timeval *tv_now) { struct timeval *delay_sum = &the_pcu.queue_delay_sum; struct timeval tv_delay; |