[PATCH] osmo-bts[master]: Include missing headers for osmo_init_logging2

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Apr 16 12:38:57 UTC 2018


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

Include missing headers for osmo_init_logging2

Fixes implicit declaration warning messages at compile time.

Change-Id: I753ed49cdcbd1301ba7ea38dcea9113d99fecb06
---
M src/osmo-bts-omldummy/main.c
M tests/agch/agch_test.c
M tests/cipher/cipher_test.c
M tests/paging/paging_test.c
4 files changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/26/7826/1

diff --git a/src/osmo-bts-omldummy/main.c b/src/osmo-bts-omldummy/main.c
index ef94553..3f1d58c 100644
--- a/src/osmo-bts-omldummy/main.c
+++ b/src/osmo-bts-omldummy/main.c
@@ -1,5 +1,6 @@
 
 #include <osmocom/core/talloc.h>
+#include <osmocom/core/application.h>
 #include <osmo-bts/logging.h>
 #include <osmo-bts/abis.h>
 #include <osmo-bts/bts.h>
diff --git a/tests/agch/agch_test.c b/tests/agch/agch_test.c
index ab59ebf..e6c56d9 100644
--- a/tests/agch/agch_test.c
+++ b/tests/agch/agch_test.c
@@ -20,6 +20,7 @@
  *
  */
 #include <osmocom/core/talloc.h>
+#include <osmocom/core/application.h>
 
 #include <osmo-bts/bts.h>
 #include <osmo-bts/logging.h>
diff --git a/tests/cipher/cipher_test.c b/tests/cipher/cipher_test.c
index a7343c0..9d78a88 100644
--- a/tests/cipher/cipher_test.c
+++ b/tests/cipher/cipher_test.c
@@ -23,6 +23,7 @@
 #include <osmo-bts/gsm_data.h>
 
 #include <osmocom/core/talloc.h>
+#include <osmocom/core/application.h>
 
 #include <errno.h>
 #include <unistd.h>
diff --git a/tests/paging/paging_test.c b/tests/paging/paging_test.c
index bf28661..0accd0f 100644
--- a/tests/paging/paging_test.c
+++ b/tests/paging/paging_test.c
@@ -19,6 +19,7 @@
  *
  */
 #include <osmocom/core/talloc.h>
+#include <osmocom/core/application.h>
 
 #include <osmo-bts/bts.h>
 #include <osmo-bts/logging.h>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I753ed49cdcbd1301ba7ea38dcea9113d99fecb06
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list