[PATCH] libosmocore[master]: Fix compilation warnings

Max gerrit-no-reply at lists.osmocom.org
Thu Jan 12 15:48:10 UTC 2017


Review at  https://gerrit.osmocom.org/1581

Fix compilation warnings

Fix compile warnings due to missing headers with function declarations.

Change-Id: Id524327b3f44e22e3aa44c5e8e4965b084cb326a
---
M src/gsm/gsm0411_utils.c
M src/gsm/lapd_core.c
M tests/oap/oap_test.c
3 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/81/1581/1

diff --git a/src/gsm/gsm0411_utils.c b/src/gsm/gsm0411_utils.c
index 5d18b12..b84c9f2 100644
--- a/src/gsm/gsm0411_utils.c
+++ b/src/gsm/gsm0411_utils.c
@@ -33,6 +33,7 @@
 #include <osmocom/core/logging.h>
 
 #include <osmocom/gsm/gsm48.h>
+#include <osmocom/gsm/gsm0480.h>
 #include <osmocom/gsm/gsm_utils.h>
 #include <osmocom/gsm/protocol/gsm_03_40.h>
 #include <osmocom/gsm/protocol/gsm_04_11.h>
diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c
index cdd9b56..bf5c388 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -82,6 +82,7 @@
 #include <osmocom/core/utils.h>
 #include <osmocom/core/talloc.h>
 #include <osmocom/gsm/lapd_core.h>
+#include <osmocom/gsm/rsl.h>
 
 /* TS 04.06 Table 4 / Section 3.8.1 */
 #define LAPD_U_SABM	0x7
diff --git a/tests/oap/oap_test.c b/tests/oap/oap_test.c
index f7fe0b7..ccf4906 100644
--- a/tests/oap/oap_test.c
+++ b/tests/oap/oap_test.c
@@ -21,6 +21,7 @@
  *
  */
 
+#include <osmocom/core/application.h>
 #include <osmocom/core/logging.h>
 #include <osmocom/core/utils.h>
 #include <osmocom/gsm/oap.h>

-- 
To view, visit https://gerrit.osmocom.org/1581
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id524327b3f44e22e3aa44c5e8e4965b084cb326a
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>


More information about the gerrit-log mailing list