[PATCH] osmo-pcu[master]: tbf_dl: replace cross-file deklaration with correct header

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/OpenBSC@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Sat May 21 20:36:16 UTC 2016


Review at  https://gerrit.osmocom.org/95

tbf_dl: replace cross-file deklaration with correct header

Change-Id: I9b4eb664d444258c9bcf53f9b44552d8dd3155e9
---
M src/tbf_dl.cpp
1 file changed, 1 insertion(+), 5 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/95/95/1

diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 62d378f..da6628a 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -34,6 +34,7 @@
 extern "C" {
 #include <osmocom/core/msgb.h>
 #include <osmocom/core/talloc.h>
+#include <osmocom/gprs/gprs_bssgp_bss.h>
 }
 
 #include <errno.h>
@@ -42,11 +43,6 @@
 
 /* After sending these frames, we poll for ack/nack. */
 #define POLL_ACK_AFTER_FRAMES 20
-
-extern "C" {
-int bssgp_tx_llc_discarded(struct bssgp_bvc_ctx *bctx, uint32_t tlli,
-                           uint8_t num_frames, uint32_t num_octets);
-}
 
 static inline void tbf_update_ms_class(struct gprs_rlcmac_tbf *tbf,
 					const uint8_t ms_class)

-- 
To view, visit https://gerrit.osmocom.org/95
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b4eb664d444258c9bcf53f9b44552d8dd3155e9
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>



More information about the OpenBSC mailing list