summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-11-19 10:26:19 +0100
committerMax <msuraev@sysmocom.de>2018-11-19 10:26:19 +0100
commitdcc7e6074a7b8a9f31056815deed3e6943db521f (patch)
tree001d2ed445e12e7c9fde65b31ac6eaf82776b992 /src
parentbfa7b3335b5f5f1070d30fd37a7c2750bf7cfe4c (diff)
Fix build with latest libosmocore
Remove locally defined function which conflicts with the one in libosmocore. Change-Id: I1be1d39f7c93c959ca33f6296ecda71996865cca
Diffstat (limited to 'src')
-rw-r--r--src/host/layer23/src/mobile/gsm480_ss.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/host/layer23/src/mobile/gsm480_ss.c b/src/host/layer23/src/mobile/gsm480_ss.c
index 2869ce6f..116c72f5 100644
--- a/src/host/layer23/src/mobile/gsm480_ss.c
+++ b/src/host/layer23/src/mobile/gsm480_ss.c
@@ -307,16 +307,6 @@ static inline unsigned char *msgb_wrap_with_L(struct msgb *msgb)
return data;
}
-/* support function taken from OpenBSC */
-static inline unsigned char *msgb_wrap_with_TL(struct msgb *msgb, uint8_t tag)
-{
- uint8_t *data = msgb_push(msgb, 2);
-
- data[0] = tag;
- data[1] = msgb->len - 2;
- return data;
-}
-
static inline void msgb_wrap_with_TL_asn(struct msgb *msg, uint8_t tag)
{
int len = msg->len;