diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-24 14:33:09 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-24 14:34:03 +0100 |
commit | 6c79a68103b2f95d0ce69294532fbc5d5496cc5c (patch) | |
tree | a93e18728087dccd63bf2feed702504e3e702fbe | |
parent | ca8f3b59c1710d299d0b4fc7f8c3309f0eb440af (diff) |
misc: Compile fixes due 4d54d0b883dcf85cd92290dd4cea51754c70b621
-rw-r--r-- | openbsc/src/bsc/osmo_bsc_main.c | 1 | ||||
-rw-r--r-- | openbsc/src/nat/bsc_nat_vty.c | 6 |
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; +} |