aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_vty.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-17 13:42:46 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-17 16:23:27 +0200
commitf76fedeed5bb52f5ee471b2cabc9fb7aa0c4ccf8 (patch)
tree4efe78a495c07a9117747fc7b7ddb846afcd7d07 /src/pcu_vty.h
parentfea17f8b8cc4835c9a92dfa018e38de0d6fc8cb5 (diff)
vty: Change API to have node installation be done by int
This commit fixes the go_parent_cb API according to libosmocore's commit of the same name. Fixes: pcu_vty.c:799:2: warning: initialization from incompatible pointer type [enabled by default] .go_parent_cb = pcu_vty_go_parent, Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/pcu_vty.h')
-rw-r--r--src/pcu_vty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcu_vty.h b/src/pcu_vty.h
index 17b1d3c0..c00b8824 100644
--- a/src/pcu_vty.h
+++ b/src/pcu_vty.h
@@ -8,7 +8,7 @@ enum pcu_vty_node {
PCU_NODE = _LAST_OSMOVTY_NODE + 1,
};
-enum node_type pcu_vty_go_parent(struct vty *vty);
+int pcu_vty_go_parent(struct vty *vty);
int pcu_vty_is_config_node(struct vty *vty, int node);
int pcu_vty_init(const struct log_info *cat);