aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_ctrl.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-05-27 11:53:43 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-27 20:17:06 +0200
commit1876c3108ca5c07587bae4c23217579618f77331 (patch)
tree5dcc45f764f67b348420ff91be7e4c64c6c5e25e /src/osmo-bsc/osmo_bsc_ctrl.c
parent68e4be9c845e25f53aea511b1c57340a9da5825c (diff)
move 'extern struct gsm_network *bsc_gsmnet" to header file
It's not a good idea to keep extern declarations copied over half a dozen C files. Let's move it to a header. Change-Id: I6f643f1393ba0955d9c0cf1cf78d5c604e7b9451
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_ctrl.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_ctrl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_ctrl.c b/src/osmo-bsc/osmo_bsc_ctrl.c
index 7891cf427..13cf98dce 100644
--- a/src/osmo-bsc/osmo_bsc_ctrl.c
+++ b/src/osmo-bsc/osmo_bsc_ctrl.c
@@ -41,8 +41,6 @@
#include <time.h>
#include <unistd.h>
-extern struct gsm_network *bsc_gsmnet;
-
/* Obtain SS7 application server currently handling given MSC (DPC) */
static struct osmo_ss7_as *msc_get_ss7_as(struct bsc_msc_data *msc)
{