[dpdk-dev] [RFC PATCH 1/2] lib/librte_vhost: change macro name of include guard.

Tetsuya Mukawa mukawa at igel.co.jp
Mon Nov 17 07:07:17 CET 2014


This patch changes include macro name like following.
- "_VIRTIO_NET_H_" > "_RTE_VIRTIO_NET_H_"
---
 lib/librte_vhost/rte_virtio_net.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h
index 7d7d001..a09533d 100644
--- a/lib/librte_vhost/rte_virtio_net.h
+++ b/lib/librte_vhost/rte_virtio_net.h
@@ -31,8 +31,8 @@
  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef _VIRTIO_NET_H_
-#define _VIRTIO_NET_H_
+#ifndef _RTE_VIRTIO_NET_H_
+#define _RTE_VIRTIO_NET_H_
 
 #include <stdint.h>
 #include <linux/virtio_ring.h>
@@ -189,4 +189,4 @@ uint32_t rte_vhost_enqueue_burst(struct virtio_net *dev, uint16_t queue_id,
 uint32_t rte_vhost_dequeue_burst(struct virtio_net *dev, uint16_t queue_id,
 	struct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint32_t count);
 
-#endif /* _VIRTIO_NET_H_ */
+#endif /* _RTE_VIRTIO_NET_H_ */
-- 
1.9.1



More information about the dev mailing list