From dcc7e6074a7b8a9f31056815deed3e6943db521f Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 19 Nov 2018 10:26:19 +0100 Subject: Fix build with latest libosmocore Remove locally defined function which conflicts with the one in libosmocore. Change-Id: I1be1d39f7c93c959ca33f6296ecda71996865cca --- src/host/layer23/src/mobile/gsm480_ss.c | 10 ---------- 1 file changed, 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; -- cgit v1.2.3