Change in osmo-bts[master]: Fix missing bts_model implementations in stubs.c and bts_model.c

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Jun 18 17:13:51 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/18908 )


Change subject: Fix missing bts_model implementations in stubs.c and bts_model.c
......................................................................

Fix missing bts_model implementations in stubs.c and bts_model.c

These will be required by compiler/linker after next changes.

Change-Id: Icd20d64cf973f4cf4425b46d4102747db53d8990
---
M src/osmo-bts-omldummy/bts_model.c
M tests/stubs.c
2 files changed, 16 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/08/18908/1

diff --git a/src/osmo-bts-omldummy/bts_model.c b/src/osmo-bts-omldummy/bts_model.c
index c011401..a968381 100644
--- a/src/osmo-bts-omldummy/bts_model.c
+++ b/src/osmo-bts-omldummy/bts_model.c
@@ -220,3 +220,8 @@
 {
 	return 0;
 }
+
+int bts_model_phy_link_open(struct phy_link *plink)
+{
+	return 0;
+}
diff --git a/tests/stubs.c b/tests/stubs.c
index 05175ea..20ce512 100644
--- a/tests/stubs.c
+++ b/tests/stubs.c
@@ -2,6 +2,8 @@
 
 struct femtol1_hdl;
 struct bts_model_set_dyn_pdch_data;
+struct phy_link;
+struct phy_instance;
 
 /*
  * Stubs to provide an empty bts model implementation for testing.
@@ -60,3 +62,12 @@
 void bts_model_ts_connect(struct gsm_bts_trx_ts *ts,
 			 enum gsm_phys_chan_config as_pchan)
 { return; }
+
+void bts_model_phy_link_set_defaults(struct phy_link *plink)
+{ return; }
+
+void bts_model_phy_instance_set_defaults(struct phy_instance *pinst)
+{ return; }
+
+int bts_model_phy_link_open(struct phy_link *plink)
+{ return 0; }

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Icd20d64cf973f4cf4425b46d4102747db53d8990
Gerrit-Change-Number: 18908
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200618/bc9ae438/attachment.htm>


More information about the gerrit-log mailing list