aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libcommon
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-24 15:38:38 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-24 15:39:30 +0200
commit3e4e8cfb74bed5dafb1c9d6c46aa18841ac40830 (patch)
tree84a83d376de12c96346bfca2b8835d288b0b1ca7 /openbsc/src/libcommon
parent925504bfe0834be6b1549af51242ef24fa2a0eaa (diff)
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.
Diffstat (limited to 'openbsc/src/libcommon')
-rw-r--r--openbsc/src/libcommon/common_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libcommon/common_vty.c b/openbsc/src/libcommon/common_vty.c
index 186fbe0b7..a0674f0f1 100644
--- a/openbsc/src/libcommon/common_vty.c
+++ b/openbsc/src/libcommon/common_vty.c
@@ -35,7 +35,7 @@
#include <osmocom/vty/vty.h>
-enum node_type bsc_vty_go_parent(struct vty *vty)
+int bsc_vty_go_parent(struct vty *vty)
{
switch (vty->node) {
case GSMNET_NODE: