summaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-02-10 08:42:59 -0500
committerDave Barach <dave@barachs.net>2016-02-10 08:43:22 -0500
commit2126b35f5f1aef32415c82dffd5ec78571c2b968 (patch)
treeb19b72fbdf705cd957591ba624fdd015be6b1df7 /vnet
parente17fdb5ddfdd4275e785bf4266653243e76e000d (diff)
Replace AC_PROG_LIBTOOL with LT_INIT
Change-Id: I642c4b8e83dd07708658a10ad46e9fd2c28a7f1f Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/configure.ac2
-rw-r--r--vnet/vnet/devices/dpdk/vhost_user.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/vnet/configure.ac b/vnet/configure.ac
index cc55dc3b4c1..b46a6787836 100644
--- a/vnet/configure.ac
+++ b/vnet/configure.ac
@@ -1,10 +1,10 @@
AC_INIT(vnet, 1.1)
+LT_INIT
AM_INIT_AUTOMAKE
AM_SILENT_RULES
AC_PROG_CC
AM_PROG_CC_C_O
-AC_PROG_LIBTOOL
AM_PROG_AS
AC_ARG_WITH(dpdk,
diff --git a/vnet/vnet/devices/dpdk/vhost_user.c b/vnet/vnet/devices/dpdk/vhost_user.c
index 1500879f1c5..d6ed35facd4 100644
--- a/vnet/vnet/devices/dpdk/vhost_user.c
+++ b/vnet/vnet/devices/dpdk/vhost_user.c
@@ -679,7 +679,7 @@ dpdk_vhost_user_set_vring_kick(u32 hw_if_index, u8 idx, int fd)
}
#if RTE_VERSION >= RTE_VERSION_NUM(2, 2, 0, 0)
-dpdk_vhost_user_set_vring_enable(u32 hw_if_index, u8 idx, int enable)
+int dpdk_vhost_user_set_vring_enable(u32 hw_if_index, u8 idx, int enable)
{
dpdk_device_t * xd;
struct vhost_virtqueue *vq;