pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-pcu/+/29889 )
Change subject: tbf_dl: Make dl_tbf_alloc API available in C code
......................................................................
tbf_dl: Make dl_tbf_alloc API available in C code
It will called by GprsMs (C code) in a follow-up patch.
Change-Id: Ib586894bc5834c33d38d23b7194f6dfadf9bc375
---
M src/tbf_dl.cpp
M src/tbf_dl.h
2 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
osmith: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 3a5a2e7..9fe1bd8 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -106,7 +106,7 @@
return 0;
}
-struct gprs_rlcmac_dl_tbf *dl_tbf_alloc(struct gprs_rlcmac_bts *bts, GprsMs *ms, int8_t
use_trx, bool single_slot)
+struct gprs_rlcmac_dl_tbf *dl_tbf_alloc(struct gprs_rlcmac_bts *bts, struct GprsMs *ms,
int8_t use_trx, bool single_slot)
{
struct gprs_rlcmac_dl_tbf *tbf;
int rc;
diff --git a/src/tbf_dl.h b/src/tbf_dl.h
index 1ed3fb2..620cccf 100644
--- a/src/tbf_dl.h
+++ b/src/tbf_dl.h
@@ -118,9 +118,6 @@
return m_window.ws();
}
-struct gprs_rlcmac_dl_tbf *dl_tbf_alloc(struct gprs_rlcmac_bts *bts, GprsMs *ms,
- int8_t use_trx, bool single_slot);
-
#else /* ifdef __cplusplus */
struct gprs_rlcmac_dl_tbf;
#endif
@@ -130,6 +127,9 @@
#endif
struct gprs_rlcmac_bts;
+struct gprs_rlcmac_dl_tbf *dl_tbf_alloc(struct gprs_rlcmac_bts *bts, struct GprsMs *ms,
+ int8_t use_trx, bool single_slot);
+
struct gprs_rlcmac_dl_tbf *as_dl_tbf(struct gprs_rlcmac_tbf *tbf);
/* dispatch Unitdata.DL messages */
int dl_tbf_handle(struct gprs_rlcmac_bts *bts,
--
To view, visit
https://gerrit.osmocom.org/c/osmo-pcu/+/29889
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ib586894bc5834c33d38d23b7194f6dfadf9bc375
Gerrit-Change-Number: 29889
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged