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

Message ID gerrit.1463862976760.I9b4eb664d444258c9bcf53f9b44552d8dd3155e9@gerrit.osmocom.org
State New
Headers show

Commit Message

gerrit-no-reply@lists.osmocom.org May 21, 2016, 8:36 p.m. UTC
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

Comments

gerrit-no-reply@lists.osmocom.org May 22, 2016, 10:44 a.m. UTC | #1
Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/95/1//COMMIT_MSG
Commit Message:

PS1, Line 7: deklaration
declaration :)
gerrit-no-reply@lists.osmocom.org May 22, 2016, 10:59 a.m. UTC | #2
Patch Set 2: Code-Review+2

Patch
diff mbox

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)