From 3e4e8cfb74bed5dafb1c9d6c46aa18841ac40830 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 24 Sep 2015 15:38:38 +0200 Subject: vty: Change the return type from enum to int clang complained that different enums are mixed with the return type and we actually want this to be an int now. --- openbsc/src/osmo-bsc_nat/bsc_nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/osmo-bsc_nat') diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c index c70153fd2..56c628667 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c @@ -1587,7 +1587,7 @@ static void talloc_init_ctx() tall_ctr_ctx = talloc_named_const(tall_bsc_ctx, 0, "counter"); } -extern enum node_type bsc_vty_go_parent(struct vty *vty); +extern int bsc_vty_go_parent(struct vty *vty); static struct vty_app_info vty_info = { .name = "OsmoBSCNAT", -- cgit v1.2.3