Change in osmocom-bb[master]: Fix build with latest libosmocore

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

Max gerrit-no-reply at lists.osmocom.org
Mon Nov 19 09:26:33 UTC 2018


Max has uploaded this change for review. ( https://gerrit.osmocom.org/11822


Change subject: Fix build with latest libosmocore
......................................................................

Fix build with latest libosmocore

Remove locally defined function which conflicts with the one in
libosmocore.

Change-Id: I1be1d39f7c93c959ca33f6296ecda71996865cca
---
M src/host/layer23/src/mobile/gsm480_ss.c
1 file changed, 0 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/22/11822/1

diff --git a/src/host/layer23/src/mobile/gsm480_ss.c b/src/host/layer23/src/mobile/gsm480_ss.c
index 2869ce6..116c72f 100644
--- a/src/host/layer23/src/mobile/gsm480_ss.c
+++ b/src/host/layer23/src/mobile/gsm480_ss.c
@@ -307,16 +307,6 @@
 	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;

-- 
To view, visit https://gerrit.osmocom.org/11822
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1be1d39f7c93c959ca33f6296ecda71996865cca
Gerrit-Change-Number: 11822
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181119/d6d86ef1/attachment.htm>


More information about the gerrit-log mailing list