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 BAEA7A034E; Wed, 9 Feb 2022 04:16:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 666EA4115D; Wed, 9 Feb 2022 04:16:34 +0100 (CET) Received: from out203-205-251-80.mail.qq.com (out203-205-251-80.mail.qq.com [203.205.251.80]) by mails.dpdk.org (Postfix) with ESMTP id D333B4067E for ; Wed, 9 Feb 2022 04:16:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644376588; bh=Bf9rP/NEQ+5aXbO/3wSKeOzCllVmxdWDKLpDgCIrD+I=; h=From:To:Subject:Date:In-Reply-To:References; b=lOanaZY5coRsmatvGzZ1MCIXe41dH2BF8PKthJLEmwZOf1VD1OUWHn7yVSO+E39Cd TNaO4rMzpNRSYfnQkrpvdmfMs9IYZW3LC+MTcBUySrDoVu+jRlQIZx7FijVd/z7J0j ndJSiVVE8xFC2SSUeGL6kwm1SGY/wJQ826MkSwgI= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszc9.qq.com (NewEsmtp) with SMTP id 40D9F6E2; Wed, 09 Feb 2022 11:16:13 +0800 X-QQ-mid: xmsmtpt1644376587t9xspkhq1 Message-ID: X-QQ-XMAILINFO: Nvas3ZbWNmzs0UU/sPRIyQHClodeJXob/sNz+u+S99XW+jMUNeoV9cmB1e4G2t 6iGeGgBFn+En7FwPPzMcyewoXEMrIk5w7m0yVfwjwF+JMneA+GI95xswUV9bB7cXp+OIUSBOIzWv OnhYN2bRLoCShUHJE+kfLV7BXAmNyHzfXcaZUrtOkB8+4fdYmWKe+GzogwmKEfkKWxYZ6oiEHmog /VFm3U3YJ9WYKT0dTiurfr3TlZwcUMFl7BID33+UZBEPtfROMC42CGlJm47zZGOOcokLwvvP9Gtp z+FgueuYuGdRIm9u7xgVmEPClfxoVWNW9PYkwIaCDyH1rY8bx8XbYIDk2gG/U8OHPFtbLa7Dcbxl oiUbp5hFVwPz1WHnXlUnwPr3ZZOa2KwqQ6v3XQ928v0kK4xzibOj9neVws3sOoY2DQU4Nc59wtte 4yO3ZmYciLUrRDv5ZaWt1aP5w7zySdGo4AqjL+UM8hHOWaEnDjxuWIeyQJDTMTF2os3PM0slosgm ZhR7MoibGleVmkGdEPS1EZgn17lJmDZo4W91YIZPOwbh4DRAyMQRwHv4lSSqMkSSD6NEztmatQIl CxQ3HKDJezhuOtu1HJUmqU+0JMai4vr1FCW6L7DwTftc+KiozVGLVOVuuX8gAuclNHQMQpgEcgMY QcseJpQoPJIQ/+f6LvP1koggGpuPbKFE9GQuhaqx/t/gAN1LeJ7M2XQHthXZRs5zxixOX75XZDFo pxo8n6+b2ZqXTPXy2gzUlfUsyq55y/8iuJ4zmK7Kwdo39tauV9gsg399Dmhxkm2SbI9ke/IEfadf j7WyAZVCXBrnjy4T9qK2VdheyLrZkaGW6nMWblTBZ1Z8B4k9F78ZtFX2ushpAfpuKACBkD77/rui ZL9uce+pcL From: Weiguo Li To: dev@dpdk.org Subject: [PATCH v2 16/16] pcapng: add define guards to avoid multi-inclusion Date: Wed, 9 Feb 2022 11:16:13 +0800 X-OQ-MSGID: <0786b9880672f33f84666269d50b0f06d552b816.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 --- lib/pcapng/pcapng_proto.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/pcapng/pcapng_proto.h b/lib/pcapng/pcapng_proto.h index 47161d8a12..6dc100632a 100644 --- a/lib/pcapng/pcapng_proto.h +++ b/lib/pcapng/pcapng_proto.h @@ -6,6 +6,9 @@ * See: https://github.com/pcapng/pcapng/ for the file format. */ +#ifndef PCAPNG_PROTO_H +#define PCAPNG_PROTO_H + enum pcapng_block_types { PCAPNG_INTERFACE_BLOCK = 1, PCAPNG_PACKET_BLOCK, /* Obsolete */ @@ -127,3 +130,5 @@ enum pcapng_isb_options { PCAPNG_ISB_OSDROP, PCAPNG_ISB_USRDELIV, }; + +#endif /* PCAPNG_PROTO_H */ -- 2.25.1