dexter has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/34186 )

Change subject: bts: make bts_agch_dequeue static
......................................................................

bts: make bts_agch_dequeue static

The function bts_agch_dequeue() is not used outside of bts.c, so it can
be a static function.

Change-Id: If86293ebbd99d6550022aeb8721d40bca5fc04fc
Related: OS#5927
---
M include/osmo-bts/bts.h
M src/common/bts.c
2 files changed, 14 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved




diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index 677ff9c..b2dd024 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -408,7 +408,6 @@
 int bts_link_estab(struct gsm_bts *bts);

 int bts_agch_enqueue(struct gsm_bts *bts, struct msgb *msg);
-struct msgb *bts_agch_dequeue(struct gsm_bts *bts);
 int bts_agch_max_queue_length(int T, int bcch_conf);

 enum ccch_msgt {
diff --git a/src/common/bts.c b/src/common/bts.c
index 40fe354..0f2a019 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -658,7 +658,7 @@
        return 0;
 }

-struct msgb *bts_agch_dequeue(struct gsm_bts *bts)
+static struct msgb *bts_agch_dequeue(struct gsm_bts *bts)
 {
        struct msgb *msg = msgb_dequeue(&bts->agch_queue.queue);
        if (!msg)

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: If86293ebbd99d6550022aeb8721d40bca5fc04fc
Gerrit-Change-Number: 34186
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to