diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-05 19:10:56 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-07 14:08:29 +0200 |
commit | eb36819b4d093da0c117f89caf05aef9751eb518 (patch) | |
tree | 81530533365a997fba8509ac8a2411681e68d7ad /src/utils | |
parent | 40c7410f9eb6961d5288c4bbf9072832b2b09ea1 (diff) |
Get rid of lots of stubs [4/4]
These are not needed anymore since we re-introduced libbsc, specially to
avoid all this churn.
Some specific methods are explicitly required to be overwritten by
tests, so we specificially mark those with __attribute__((weak)) in
order to be able to overwrite them.
This is the last step towards fixing interdependency mess of symbols and
stubs, and requires previous patches in order to have tests apssing
fine.
Change-Id: Ic7401b8a6eb903882e30fda1cf091ac99a254ef0
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/bs11_config.c | 21 | ||||
-rw-r--r-- | src/utils/meas_json.c | 9 |
2 files changed, 0 insertions, 30 deletions
diff --git a/src/utils/bs11_config.c b/src/utils/bs11_config.c index c279179d5..e79507642 100644 --- a/src/utils/bs11_config.c +++ b/src/utils/bs11_config.c @@ -974,24 +974,3 @@ int main(int argc, char **argv) exit(0); } - -/* Stub */ -int osmo_bsc_sigtran_send(struct gsm_subscriber_connection *conn, struct msgb *msg) -{ - return 0; -} - -/* Stub */ -int osmo_bsc_sigtran_open_conn(struct gsm_subscriber_connection *conn, struct msgb *msg) -{ - return 0; -} - -void ts_fsm_alloc(struct gsm_bts_trx_ts *ts) {} -int abis_rsl_rcvmsg(struct msgb *msg) { return 0; } -int rsl_chan_ms_power_ctrl(struct gsm_lchan *lchan) { return 0; } -void pcu_info_update(struct gsm_bts *bts) {}; -int rsl_sacch_filling(struct gsm_bts_trx *trx, uint8_t type, const uint8_t *data, int len) { return 0; } -int rsl_bcch_info(const struct gsm_bts_trx *trx, enum osmo_sysinfo_type si_type, const uint8_t *data, int len) -{ return 0; } -int gsm_generate_si(struct gsm_bts *bts, enum osmo_sysinfo_type si_type) { return 0; } diff --git a/src/utils/meas_json.c b/src/utils/meas_json.c index 82b1e570b..00b90e8f5 100644 --- a/src/utils/meas_json.c +++ b/src/utils/meas_json.c @@ -201,12 +201,3 @@ int main(int argc, char **argv) exit(0); } - -void ts_fsm_alloc(struct gsm_bts_trx_ts *ts) {} -int abis_rsl_rcvmsg(struct msgb *msg) { return 0; } -int rsl_chan_ms_power_ctrl(struct gsm_lchan *lchan) { return 0; } -void pcu_info_update(struct gsm_bts *bts) {}; -int rsl_sacch_filling(struct gsm_bts_trx *trx, uint8_t type, const uint8_t *data, int len) { return 0; } -int rsl_bcch_info(const struct gsm_bts_trx *trx, enum osmo_sysinfo_type si_type, const uint8_t *data, int len) -{ return 0; } -int gsm_generate_si(struct gsm_bts *bts, enum osmo_sysinfo_type si_type) { return 0; } |