aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-05-03 21:23:33 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-05-04 13:12:20 +0200
commit9be5f8c9c067f15ad3f49d8ba9d1db3b42ca1409 (patch)
treea08e865fe31c09387f1205074a4550332caf42b9
parent0d194268fb454bc0d70f7fe5c278a70a65f0adea (diff)
measurement: Mark the internal functions as internal
In terms of assembly code this only removes the ".global FN" from the code. GCC does not attempt to inline it right now.
-rw-r--r--include/osmo-bts/measurement.h2
-rw-r--r--src/common/measurement.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h
index 5ad6795e..493b6ff7 100644
--- a/include/osmo-bts/measurement.h
+++ b/include/osmo-bts/measurement.h
@@ -3,8 +3,6 @@
int lchan_new_ul_meas(struct gsm_lchan *lchan, struct bts_ul_meas *ulm);
-int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn);
-int ts_meas_check_compute(struct gsm_bts_trx_ts *ts, uint32_t fn);
int trx_meas_check_compute(struct gsm_bts_trx *trx, uint32_t fn);
/* build the 3 byte RSL uplinke measurement IE content */
diff --git a/src/common/measurement.c b/src/common/measurement.c
index b79cb438..774962d4 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -130,7 +130,7 @@ static uint8_t ber10k_to_rxqual(uint32_t ber10k)
return 7;
}
-int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
+static int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
{
uint32_t ber_full_sum = 0;
uint32_t irssi_full_sum = 0;
@@ -207,7 +207,7 @@ int lchan_build_rsl_ul_meas(struct gsm_lchan *lchan, uint8_t *buf)
return 3;
}
-int ts_meas_check_compute(struct gsm_bts_trx_ts *ts, uint32_t fn)
+static int ts_meas_check_compute(struct gsm_bts_trx_ts *ts, uint32_t fn)
{
int i;