aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2015-12-14 13:22:11 -0500
committerDave Barach <dave@barachs.net>2015-12-14 13:22:32 -0500
commitf9bd620dc5299180cb639c4c6f91fadf6b860b08 (patch)
treeda52dd15e14e0fa9bae8d4aaef519b139e3f3551 /vnet
parent64f98e91b669ecda59fcb587e095d0fb6b3dc48d (diff)
Warnings be gone
Change-Id: Id1dcb9d50c3cc516bd2f74bb815eab1c7c55cdb3 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/ethernet/arp.c2
-rw-r--r--vnet/vnet/ip/ip6_neighbor.c1
-rw-r--r--vnet/vnet/l2/l2_output.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/vnet/vnet/ethernet/arp.c b/vnet/vnet/ethernet/arp.c
index 446c76a1..4f948407 100644
--- a/vnet/vnet/ethernet/arp.c
+++ b/vnet/vnet/ethernet/arp.c
@@ -21,6 +21,8 @@
#include <vnet/l2/l2_input.h>
#include <vppinfra/mhash.h>
+void vl_api_rpc_call_main_thread (void *fp, u8 * data, u32 data_length);
+
typedef struct {
u32 sw_if_index;
u32 fib_index;
diff --git a/vnet/vnet/ip/ip6_neighbor.c b/vnet/vnet/ip/ip6_neighbor.c
index 28f964c8..3eb9710d 100644
--- a/vnet/vnet/ip/ip6_neighbor.c
+++ b/vnet/vnet/ip/ip6_neighbor.c
@@ -296,6 +296,7 @@ static void set_unset_ip6_neighbor_rpc
int is_add)
{
ip6_neighbor_set_unset_rpc_args_t args;
+ void vl_api_rpc_call_main_thread (void *fp, u8 * data, u32 data_length);
args.sw_if_index = sw_if_index;
args.is_add = is_add;
diff --git a/vnet/vnet/l2/l2_output.c b/vnet/vnet/l2/l2_output.c
index 72c3d037..a5424866 100644
--- a/vnet/vnet/l2/l2_output.c
+++ b/vnet/vnet/l2/l2_output.c
@@ -452,6 +452,7 @@ static void output_node_mapping_send_rpc
u32 sw_if_index)
{
output_node_mapping_rpc_args_t args;
+ void vl_api_rpc_call_main_thread (void *fp, u8 * data, u32 data_length);
args.node_index = node_index;
args.sw_if_index = sw_if_index;