From 6c79a68103b2f95d0ce69294532fbc5d5496cc5c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 24 Feb 2011 14:33:09 +0100 Subject: misc: Compile fixes due 4d54d0b883dcf85cd92290dd4cea51754c70b621 --- openbsc/src/bsc/osmo_bsc_main.c | 1 - openbsc/src/nat/bsc_nat_vty.c | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'openbsc') 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; +} -- cgit v1.2.3