Change in libosmocore[master]: Move BSSMAP_MSG_* defines to header file

Max gerrit-no-reply at lists.osmocom.org
Thu Nov 29 22:47:39 UTC 2018


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


Change subject: Move BSSMAP_MSG_* defines to header file
......................................................................

Move BSSMAP_MSG_* defines to header file

Change-Id: I4d8cc05b8df8e70c1f6257e53ae3acec7901681f
---
M include/osmocom/gsm/gsm0808.h
M src/gsm/gsm0808.c
2 files changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/18/12018/1

diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h
index 9b19d69..298b3e4 100644
--- a/include/osmocom/gsm/gsm0808.h
+++ b/include/osmocom/gsm/gsm0808.h
@@ -29,6 +29,9 @@
 #include <osmocom/gsm/gsm23003.h>
 #include <osmocom/core/utils.h>
 
+#define BSSMAP_MSG_SIZE 512
+#define BSSMAP_MSG_HEADROOM 128
+
 struct sockaddr_storage;
 
 struct msgb;
diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c
index fe7bc2c..2566ad5 100644
--- a/src/gsm/gsm0808.c
+++ b/src/gsm/gsm0808.c
@@ -34,9 +34,6 @@
  *  message generation/encoding.
  */
 
-#define BSSMAP_MSG_SIZE 512
-#define BSSMAP_MSG_HEADROOM 128
-
 /*! Create "Complete L3 Info" for AoIP, legacy implementation.
  * Instead use gsm0808_create_layer3_aoip2(), which is capable of three-digit MNC with leading zeros.
  *  \param[in] msg_l3 msgb containing Layer 3 Message

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d8cc05b8df8e70c1f6257e53ae3acec7901681f
Gerrit-Change-Number: 12018
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/20181129/fd9b304a/attachment.html>


More information about the gerrit-log mailing list