diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-02-16 12:07:47 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:11 +0100 |
commit | 23f22b1183533e49ff39600fca7d6d8579e678a3 (patch) | |
tree | d93c13576cea3a98817a35113bbf974e505d8205 /openbsc/src | |
parent | 090aabe052956b571a3dd3430aeaf0f1f3ae366d (diff) |
msc: define extern iu_tx()
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/libmsc/msc_ifaces.c | 4 | ||||
-rw-r--r-- | openbsc/src/osmo-cscn/cscn_main.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/openbsc/src/libmsc/msc_ifaces.c b/openbsc/src/libmsc/msc_ifaces.c index 322994608..453d92144 100644 --- a/openbsc/src/libmsc/msc_ifaces.c +++ b/openbsc/src/libmsc/msc_ifaces.c @@ -24,7 +24,7 @@ #include <openbsc/gsm_data.h> #include <openbsc/msc_ifaces.h> -int msc_tx(struct gsm_subscriber_connection *conn, struct msgb *msg) +static int msc_tx(struct gsm_subscriber_connection *conn, struct msgb *msg) { switch (conn->via_iface) { case IFACE_A: @@ -49,6 +49,6 @@ int msc_tx(struct gsm_subscriber_connection *conn, struct msgb *msg) int msc_tx_dtap(struct gsm_subscriber_connection *conn, struct msgb *msg) { - return msc_tx(&global_msc_ifaces, conn, msg); + return msc_tx(conn, msg); } diff --git a/openbsc/src/osmo-cscn/cscn_main.c b/openbsc/src/osmo-cscn/cscn_main.c index 453983855..6fab0416e 100644 --- a/openbsc/src/osmo-cscn/cscn_main.c +++ b/openbsc/src/osmo-cscn/cscn_main.c @@ -337,9 +337,6 @@ int main(int argc, char **argv) if (!cscn_network) return -ENOMEM; - global_msc_ifaces.network = cscn_network; - global_msc_ifaces.iu_cs.tx = iu_tx; - vty_init(&cscn_vty_info); bsc_vty_init(&log_info, cscn_network); rc = vty_read_config_file(cscn_cmdline_config.config_file, NULL); |