misc: Fix the return type of the go back vty function...
Without this we will get warnings about incompatible assignments
This commit is contained in:
parent
89476f5c8f
commit
57da4471d1
|
@ -198,7 +198,7 @@ extern int bts_model_unknown_init(void);
|
|||
extern int bts_model_bs11_init(void);
|
||||
extern int bts_model_nanobts_init(void);
|
||||
|
||||
extern int bsc_vty_go_parent(struct vty *vty);
|
||||
extern enum node_type bsc_vty_go_parent(struct vty *vty);
|
||||
|
||||
static struct vty_app_info vty_info = {
|
||||
.name = "OpenBSC",
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <osmocom/vty/vty.h>
|
||||
|
||||
|
||||
int bsc_vty_go_parent(struct vty *vty)
|
||||
enum node_type bsc_vty_go_parent(struct vty *vty)
|
||||
{
|
||||
switch (vty->node) {
|
||||
case GSMNET_NODE:
|
||||
|
|
|
@ -185,7 +185,7 @@ static void handle_options(int argc, char **argv)
|
|||
|
||||
extern void *tall_msgb_ctx;
|
||||
|
||||
extern int bsc_vty_go_parent(struct vty *vty);
|
||||
extern enum node_type bsc_vty_go_parent(struct vty *vty);
|
||||
|
||||
static struct vty_app_info vty_info = {
|
||||
.name = "Osmocom Gb Proxy",
|
||||
|
|
|
@ -125,7 +125,7 @@ static void signal_handler(int signal)
|
|||
extern struct gprs_ns_inst *bssgp_nsi;
|
||||
extern void *tall_msgb_ctx;
|
||||
|
||||
extern int bsc_vty_go_parent(struct vty *vty);
|
||||
extern enum node_type bsc_vty_go_parent(struct vty *vty);
|
||||
|
||||
static struct vty_app_info vty_info = {
|
||||
.name = "Osmocom SGSN",
|
||||
|
|
|
@ -174,7 +174,7 @@ static int read_call_agent(struct bsc_fd *fd, unsigned int what)
|
|||
return 0;
|
||||
}
|
||||
|
||||
extern int bsc_vty_go_parent(struct vty *vty);
|
||||
extern enum node_type bsc_vty_go_parent(struct vty *vty);
|
||||
|
||||
static struct vty_app_info vty_info = {
|
||||
.name = "OpenBSC MGCP",
|
||||
|
|
Loading…
Reference in New Issue