aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-20 23:16:31 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-15 14:27:47 +0100
commit5dfb115eaf16a5c5e9ccea5b03374651aa97da11 (patch)
treeafbc3d507bfa2c8e4287faa749a6725ff892796c
parentc6723c82064caec54faeec80b0afd8159140c96d (diff)
declare pcu_direct in pcu_if.h
-rw-r--r--include/osmo-bts/pcu_if.h2
-rw-r--r--src/osmo-bts-litecell15/l1_if.c2
-rw-r--r--src/osmo-bts-litecell15/main.c3
-rw-r--r--src/osmo-bts-sysmo/l1_if.c2
-rw-r--r--src/osmo-bts-sysmo/main.c3
5 files changed, 4 insertions, 8 deletions
diff --git a/include/osmo-bts/pcu_if.h b/include/osmo-bts/pcu_if.h
index 017de48b..71738445 100644
--- a/include/osmo-bts/pcu_if.h
+++ b/include/osmo-bts/pcu_if.h
@@ -1,6 +1,8 @@
#ifndef _PCU_IF_H
#define _PCU_IF_H
+extern int pcu_direct;
+
int pcu_tx_info_ind(void);
int pcu_tx_rts_req(struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn,
uint16_t arfcn, uint8_t block_nr);
diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c
index e697f108..aea33721 100644
--- a/src/osmo-bts-litecell15/l1_if.c
+++ b/src/osmo-bts-litecell15/l1_if.c
@@ -67,8 +67,6 @@
#include "misc/lc15bts_bid.h"
#include "utils.h"
-extern int pcu_direct;
-
struct wait_l1_conf {
struct llist_head list; /* internal linked list */
struct osmo_timer_list timer; /* timer for L1 timeout */
diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index 31ed3a9f..23f5a8ef 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -48,6 +48,7 @@
#include <osmo-bts/bts.h>
#include <osmo-bts/vty.h>
#include <osmo-bts/bts_model.h>
+#include <osmo-bts/pcu_if.h>
#include <osmo-bts/l1sap.h>
/*NTQD: Change how rx_nr is handle in multi-trx*/
@@ -59,8 +60,6 @@
#include "oml_router.h"
#include "misc/lc15bts_bid.h"
-extern int pcu_direct;
-
int bts_model_init(struct gsm_bts *bts)
{
struct gsm_bts_role_bts *btsb;
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index aa34ea1f..debc80ae 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -63,8 +63,6 @@
#include "eeprom.h"
#include "utils.h"
-extern int pcu_direct;
-
struct wait_l1_conf {
struct llist_head list; /* internal linked list */
struct osmo_timer_list timer; /* timer for L1 timeout */
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c
index e54ba468..b1263b9a 100644
--- a/src/osmo-bts-sysmo/main.c
+++ b/src/osmo-bts-sysmo/main.c
@@ -44,6 +44,7 @@
#include <osmo-bts/bts.h>
#include <osmo-bts/vty.h>
#include <osmo-bts/bts_model.h>
+#include <osmo-bts/pcu_if.h>
#include <osmo-bts/l1sap.h>
#define SYSMOBTS_RF_LOCK_PATH "/var/lock/bts_rf_lock"
@@ -54,8 +55,6 @@
#include "hw_misc.h"
#include "oml_router.h"
-extern int pcu_direct;
-
int bts_model_init(struct gsm_bts *bts)
{
struct gsm_bts_role_bts *btsb;