From df92652c953c2bb10a21526936296a468a52c00f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 12 Aug 2016 10:29:46 +0200 Subject: vty: Fix compiler warning about type changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit osmo_client_main.c:57:2: warning: initialization from incompatible pointer type .go_parent_cb = osmopcap_go_parent, ^ osmo_client_main.c:57:2: warning: (near initialization for ‘vty_info.go_parent_cb’) CCLD osmo_pcap_client CC osmo_server_main.o osmo_server_main.c:56:2: warning: initialization from incompatible pointer type .go_parent_cb = osmopcap_go_parent, ^ osmo_server_main.c:56:2: warning: (near initialization for ‘vty_info.go_parent_cb’) Change-Id: If73c85a64789ef4bff63dcfe008e918e650b428f --- include/osmo-pcap/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/osmo-pcap/common.h b/include/osmo-pcap/common.h index 9275f0a..b8f8110 100644 --- a/include/osmo-pcap/common.h +++ b/include/osmo-pcap/common.h @@ -44,7 +44,7 @@ enum { extern const struct log_info log_info; extern const char *osmopcap_copyright; -extern enum node_type osmopcap_go_parent(struct vty *vty); +extern int osmopcap_go_parent(struct vty *vty); extern int osmopcap_is_config_node(struct vty *vty, int node); #endif -- cgit v1.2.3