aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-23 23:03:14 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-23 23:03:14 +0100
commit40fc8f9e467bc3033a30dcc8b6a7cbcd5dd613c6 (patch)
tree7a71edf2e1000a0b6c53157ede68689fca47fc12
parentb18aedcc509fd5bd97d2b20ce893a85840e13f64 (diff)
sched: Make internal methods static
-rw-r--r--src/gprs_rlcmac_sched.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index 02330cb..690be30 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -71,7 +71,7 @@ static uint32_t sched_poll(struct gprs_rlcmac_bts *bts,
return poll_fn;
}
-uint8_t sched_select_uplink(uint8_t trx, uint8_t ts, uint32_t fn,
+static uint8_t sched_select_uplink(uint8_t trx, uint8_t ts, uint32_t fn,
uint8_t block_nr, struct gprs_rlcmac_pdch *pdch)
{
struct gprs_rlcmac_tbf *tbf;
@@ -187,7 +187,8 @@ static struct msgb *sched_select_downlink(struct gprs_rlcmac_bts *bts,
return msg;
}
-static uint8_t rlcmac_dl_idle[23] = {
+
+static const uint8_t rlcmac_dl_idle[23] = {
0x47, /* control without optional header octets, no polling, USF=111 */
0x94, /* dummy downlink control message, paging mode 00 */
0x2b, /* no persistance level, 7 bits spare pattern */
@@ -195,7 +196,7 @@ static uint8_t rlcmac_dl_idle[23] = {
0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b
};
-struct msgb *sched_dummy(void)
+static struct msgb *sched_dummy(void)
{
struct msgb *msg;