summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndrius Sirvys <andrius.sirvys@intel.com>2019-03-21 10:09:53 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-29 17:25:32 +0100
commit1708804ea977668f82a944b29399d376f8e50e9f (patch)
tree220badebe5f6fe8db25b7c1a76d325d8faecd197 /drivers
parent61d4008fe6bb3e6b7fdef8a972245aec2791c45d (diff)
downloaddpdk-next-eventdev-1708804ea977668f82a944b29399d376f8e50e9f.zip
dpdk-next-eventdev-1708804ea977668f82a944b29399d376f8e50e9f.tar.gz
dpdk-next-eventdev-1708804ea977668f82a944b29399d376f8e50e9f.tar.xz
net/virtio: fix duplicate naming of include guard
"The macro name '_VHOST_NET_USER_H' of this include guard is used in 2 different header files." lib/librte_vhost/vhost_user.h has the same include guard. Renamed the include guard in vhost.h to differentiate. Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer") Cc: stable@dpdk.org Signed-off-by: Andrius Sirvys <andrius.sirvys@intel.com> Acked-by: Rami Rosen <ramirose@gmail.com> Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/virtio/virtio_user/vhost.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/virtio/virtio_user/vhost.h b/drivers/net/virtio/virtio_user/vhost.h
index 83a85cc..55f4703 100644
--- a/drivers/net/virtio/virtio_user/vhost.h
+++ b/drivers/net/virtio/virtio_user/vhost.h
@@ -2,8 +2,8 @@
* Copyright(c) 2010-2016 Intel Corporation
*/
-#ifndef _VHOST_NET_USER_H
-#define _VHOST_NET_USER_H
+#ifndef _VIRTIO_USER_VHOST_H
+#define _VIRTIO_USER_VHOST_H
#include <stdint.h>
#include <linux/types.h>