aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-24 14:33:09 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-24 14:34:03 +0100
commit6c79a68103b2f95d0ce69294532fbc5d5496cc5c (patch)
treea93e18728087dccd63bf2feed702504e3e702fbe /openbsc
parentca8f3b59c1710d299d0b4fc7f8c3309f0eb440af (diff)
misc: Compile fixes due 4d54d0b883dcf85cd92290dd4cea51754c70b621
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/bsc/osmo_bsc_main.c1
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/openbsc/src/bsc/osmo_bsc_main.c b/openbsc/src/bsc/osmo_bsc_main.c
index 62a4e0ef6..66e5a7917 100644
--- a/openbsc/src/bsc/osmo_bsc_main.c
+++ b/openbsc/src/bsc/osmo_bsc_main.c
@@ -50,7 +50,6 @@ static const char *rf_ctl = NULL;
extern const char *openbsc_copyright;
static int daemonize = 0;
-extern void bsc_vty_init(void);
extern int bsc_bootstrap_network(int (*layer4)(struct gsm_network *, struct msgb *), const char *cfg_file);
static void print_usage()
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index c32bfdfb5..532e7905c 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -732,5 +732,7 @@ int bsc_nat_vty_init(struct bsc_nat *nat)
/* called by the telnet interface... we have our own init above */
-void bsc_vty_init()
-{}
+int bsc_vty_init(void)
+{
+ return 0;
+}