From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 75F5AA034E; Wed, 9 Feb 2022 04:03:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CF0A41144; Wed, 9 Feb 2022 04:02:53 +0100 (CET) Received: from out203-205-221-153.mail.qq.com (out203-205-221-153.mail.qq.com [203.205.221.153]) by mails.dpdk.org (Postfix) with ESMTP id 18017410F3 for ; Wed, 9 Feb 2022 04:02:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644375765; bh=8/IrNaBJQElb5EB1QLIq+TaP2mgSiuBVEQqnhhuMjcg=; h=From:To:Subject:Date:In-Reply-To:References; b=yVguBOG2+K8ndeBhcZxWyNAxPIbVnkh0m05UPZEHXBabRVcRueoIXY24I+o+5xFIV XyIbrtax7nsZ7XkCOwPwc6GhjBoILJnpm1WX7E1TFOywAsI3l3hZWg7zEzoBp6gWW4 Hmt5XiFR4PJEcK0ls0ZH8NWjBkkGUaPmO3lfzztE= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszb7.qq.com (NewEsmtp) with SMTP id 98A6079; Wed, 09 Feb 2022 11:02:24 +0800 X-QQ-mid: xmsmtpt1644375764tm0ks05ek Message-ID: X-QQ-XMAILINFO: MPRquJFDOUjC7ho6kXnIbuL/4e0+Xc2uEtgyEPzp3TnqmAoaMHW9+ehTpLXBqt 4iou0W28MFCb1aWWc+61v/EYFiY7odoOt57Xc08c3/HiYF9///R+qKOYZXrFftOnuJjzl2KNavTR 84anQhBJVrt/23WYfwqpp46py6GukstoIizN8Yq+uXugPc8xs9aGxP3bLFNQHTsTMYKB+Y3cocI9 Kupt/wamN2FuZw/qtbhmx84lhvAgSZvhrXe/FBFoBAPEgyCGAT4neZb8gFOCcaKWlazVUw9DXSZ4 Xw3DBnLwrLYBhWUuGahWdfQUoij3Z2bbVhnSkCWYzyOHkcjBdxSKDpRx12+YqVkQOGk7LvfvrecT bmV25Qb1a8EyuWyc4popf/WZEkBDdqD8dFQvVOvqejwdQ+Emy3bqY4pnF3YAx6DaDur9PaDMSMYY EzvM23eSEau5Mx89DtdCaKpN6oDpqjANv8mObSp8J0XVx21qoVHBb6E+7bHLmTxLYmxvf5swjvGx IKA3uTWUXtCfi54gEFrNo+Og59FjsE6wwdWKCclnuxXq8nQYaGLxnTliOoS92g8QR6aVsYxWBTVD fc/9MVC9IIJ3sXlVNPJgRZJI4zfwcXvm5+HIMVkdGPK+Y8P2cCP/8W9EM+4zFiLE71ulniseRCin 5JiO/5xXax7DZemDxEB1A6cY5f3hi6BeMMoQmox3PQ0QCzSI8CbbYn/virFX8eTBJGQcWU7U+UTY 8NZJIp6CWjZCL3fa9zlkV21i+AtONhX2TxFvCyajDRu0paruNlz84lynjYHKtV9VDyFaaJItKoCN ZQbWMQoclJint3k9fI/zCCL00FeZscAki2nSwBUAhYVsiRWER67XTn From: Weiguo Li To: dev@dpdk.org Subject: [PATCH v2 04/16] net/enetfec: add define guards to avoid multi-inclusion Date: Wed, 9 Feb 2022 11:02:12 +0800 X-OQ-MSGID: <8358d6f457de4073c603e0ea801526f2f3a2bd93.1644374873.git.liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Supplement define guards to prevent multiple inclusion. Signed-off-by: Weiguo Li --- v2: * update to a simple guard style --- drivers/net/enetfec/enet_uio.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/enetfec/enet_uio.h b/drivers/net/enetfec/enet_uio.h index fec8ba6f95..e82e549b0b 100644 --- a/drivers/net/enetfec/enet_uio.h +++ b/drivers/net/enetfec/enet_uio.h @@ -2,6 +2,9 @@ * Copyright 2021 NXP */ +#ifndef ENETFEC_UIO_H +#define ENETFEC_UIO_H + #include "enet_ethdev.h" /* Prefix path to sysfs directory where UIO device attributes are exported. @@ -62,3 +65,5 @@ int enetfec_configure(void); int config_enetfec_uio(struct enetfec_private *fep); void enetfec_uio_init(void); void enetfec_cleanup(struct enetfec_private *fep); + +#endif /* ENETFEC_UIO_H */ -- 2.25.1