Change in openbsc[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 10:26:40 UTC 2018


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


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: Ifcc13c4f8998af7680fc17414b2720feee7d386a
---
M openbsc/src/libmsc/gsm_04_80.c
1 file changed, 0 insertions(+), 9 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/25/11825/1

diff --git a/openbsc/src/libmsc/gsm_04_80.c b/openbsc/src/libmsc/gsm_04_80.c
index 479d6fb..dc9ae23 100644
--- a/openbsc/src/libmsc/gsm_04_80.c
+++ b/openbsc/src/libmsc/gsm_04_80.c
@@ -39,15 +39,6 @@
 #include <osmocom/core/msgb.h>
 #include <osmocom/gsm/tlv.h>
 
-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 unsigned char *msgb_push_TLV1(struct msgb *msgb, uint8_t tag,
 					    uint8_t value)
 {

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

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifcc13c4f8998af7680fc17414b2720feee7d386a
Gerrit-Change-Number: 11825
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/e041791e/attachment.htm>


More information about the gerrit-log mailing list