msuraev has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-pcu/+/30209 )

Change subject: constify pdch_ulc_get_next_free_fn() parameter
......................................................................

constify pdch_ulc_get_next_free_fn() parameter

Change-Id: I91738f951f57bd171d8cbd66fe5e5c46e6fa953b
---
M src/pdch_ul_controller.c
M src/pdch_ul_controller.h
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved



diff --git a/src/pdch_ul_controller.c b/src/pdch_ul_controller.c
index 9cbe845..2ae553f 100644
--- a/src/pdch_ul_controller.c
+++ b/src/pdch_ul_controller.c
@@ -157,7 +157,7 @@
 }

 /* Get next free (unreserved) FN which is not located in time before 
"start_fn" */
-uint32_t pdch_ulc_get_next_free_fn(struct pdch_ulc *ulc, uint32_t start_fn)
+uint32_t pdch_ulc_get_next_free_fn(const struct pdch_ulc *ulc, uint32_t 
start_fn)
 {
        struct rb_node *node;
        struct pdch_ulc_node *it;
diff --git a/src/pdch_ul_controller.h b/src/pdch_ul_controller.h
index 9857c8f..a488e9b 100644
--- a/src/pdch_ul_controller.h
+++ b/src/pdch_ul_controller.h
@@ -84,7 +84,7 @@
 bool pdch_ulc_fn_is_free(struct pdch_ulc *ulc, uint32_t fn);

 int pdch_ulc_get_next_free_rrbp_fn(struct pdch_ulc *ulc, uint32_t fn, uint32_t 
*poll_fn, unsigned int *rrbp);
-uint32_t pdch_ulc_get_next_free_fn(struct pdch_ulc *ulc, uint32_t start_fn);
+uint32_t pdch_ulc_get_next_free_fn(const struct pdch_ulc *ulc, uint32_t 
start_fn);

 struct pdch_ulc_node *pdch_ulc_get_node(struct pdch_ulc *ulc, uint32_t fn);
 struct pdch_ulc_node *pdch_ulc_pop_node(struct pdch_ulc *ulc, uint32_t fn);

--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30209
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I91738f951f57bd171d8cbd66fe5e5c46e6fa953b
Gerrit-Change-Number: 30209
Gerrit-PatchSet: 2
Gerrit-Owner: msuraev <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: msuraev <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to