misc: Compile fixes due 4d54d0b883dcf85cd92290dd4cea51754c70b621
diff --git a/openbsc/src/bsc/osmo_bsc_main.c b/openbsc/src/bsc/osmo_bsc_main.c
index 62a4e0e..66e5a79 100644
--- a/openbsc/src/bsc/osmo_bsc_main.c
+++ b/openbsc/src/bsc/osmo_bsc_main.c
@@ -50,7 +50,6 @@
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 c32bfdf..532e790 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -732,5 +732,7 @@
/* called by the telnet interface... we have our own init above */
-void bsc_vty_init()
-{}
+int bsc_vty_init(void)
+{
+ return 0;
+}