From patchwork Wed Feb 9 07:24:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiguo Li X-Patchwork-Id: 107092 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7B1DCA034F; Wed, 9 Feb 2022 08:24:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3141741141; Wed, 9 Feb 2022 08:24:25 +0100 (CET) Received: from out203-205-251-84.mail.qq.com (unknown [203.205.251.84]) by mails.dpdk.org (Postfix) with ESMTP id D2289410F3 for ; Wed, 9 Feb 2022 08:24:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644391459; bh=ks8teIaPf9U1BK3n73GkciF/9FguT21wzgGs5RTqoCU=; h=From:To:Subject:Date:In-Reply-To:References; b=QHjwj/YP5WPKD9E3Fi4vApJYFTIl0CsmLyM2HovUlsYBvPV2J/6WrMquvsQu9k7H+ zutVT9j96+XP6UkwpWOXa2RUS7ZtVTnKnqcNPm4y5B1VJnZ/E8ACHIM5Q3S6maWLx6 F2+fKXkrlUlEkyeKIllsDKUEiGuhntROE2Ua37Fg= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszb7.qq.com (NewEsmtp) with SMTP id 6090E84A; Wed, 09 Feb 2022 15:24:09 +0800 X-QQ-mid: xmsmtpt1644391449trqyh7qnh Message-ID: X-QQ-XMAILINFO: NwRy6mWOubbIODj42gsYc63kWRQNHBmMXjshe/3bZJA9b9jlhf6mcFnLt1ziys 1X8R0LEO4KZSHWwfxSXFQyjN3n369SYozTK4iYehQtrRFQwJr8GY0uSvFgkPEFyKl+yN//ocqLnb RRBW9ksPDMSNe/WuTvvMEGc+hr5vYszo6TyHfYBRl+F5cw20+NsWCWXkrzhMC5Vq3lrMfnUJujT7 amMeLm7bkodxVHyz6qbqN6GAa+JPvwpxMQGBaRbJ4l5BSK7mTNBKZdYN6WKsg2rDs9/4HlqToH2P 6yuEPfPmeOhD3v9fZdqd3rCicD31kbeZG3G/fbT4S0QCwn5HyXr9Y5RBwh+3gTeGfFm3P1IYYKMV 3dYh0lzjEf+SKvxXi9WUx+dLJwpV4mjTQMnFe/PQb8YZm9lNK94RS3u+xaiWKLLJOVUt6Y4Z+/wn ro5ZTfOUp2cEpwxYK5PbNy8LHSbEBkkO+DhzeYxpxtUCGtg/eF5+ikuI2h5EJbKtttWgPauZlX/e g7kE2hxWPSR5ownDK64eWwnd80Mcr45GREG2Jz8OH+Sam6T17/C+/z41+WhapPYzWipYLX4S3P2N 9qeBAz6/sKOCr8bvJhIcfzbDNnpANeWoKOlG9nk/o7X+1i7hHVir7x4/sss8FeSch8qdrhYhQqqH yNd5+44Bhph+5/Ngt+uhgiOLxTtiPwo8QIDkI113YS2f81EBYNInSjZ581lkQrKzC3TiJkNE5eps TapoVLF6CXqNXj7F/nQQRXqaKWuccULaoIaVt7BXLfIbg9ZWWSjptfEL5oCB9CHzbBjLy+vj8HJg 1+CJr0APK8w1RjNm4mKT2BEOyEhxEJx8rHekQHewfT388wxl1gwtXx2SfHHwVjPZi/jHYMRe24/1 ZUmIYQHXcvv56NPt+D7LJgz+zZk1XWjg== From: Weiguo Li To: dev@dpdk.org Subject: [PATCH v3 0/4] add define guards to avoid multi-inclusion Date: Wed, 9 Feb 2022 15:24:04 +0800 X-OQ-MSGID: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 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. --- v3: * limit changes to "rte_xxx.h" headers v2: * update to a simple style Weiguo Li (4): kni: add define guards to avoid multi-inclusion eal: add define guards to avoid multi-inclusion efd: add define guards to avoid multi-inclusion hash: add define guards to avoid multi-inclusion lib/eal/include/rte_eal_paging.h | 5 +++++ lib/eal/windows/include/rte_virt2phys.h | 5 +++++ lib/efd/rte_efd_x86.h | 5 +++++ lib/hash/rte_cmp_arm64.h | 5 +++++ lib/hash/rte_cmp_x86.h | 5 +++++ lib/kni/rte_kni_fifo.h | 5 ++++- 6 files changed, 29 insertions(+), 1 deletion(-)