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 72B27A034E; Sun, 6 Feb 2022 05:00:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3904411C9; Sun, 6 Feb 2022 04:59:15 +0100 (CET) Received: from out203-205-221-249.mail.qq.com (out203-205-221-249.mail.qq.com [203.205.221.249]) by mails.dpdk.org (Postfix) with ESMTP id 3172C41172 for ; Sun, 6 Feb 2022 04:59:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644119947; bh=15Mq/55mi8jKrfA+pTEaEDkdo581pb71N1ZY95TqC3c=; h=From:To:Subject:Date:In-Reply-To:References; b=mLiuLbQ9EE7aRYZmpTbkkIBO8HbdIPH+Rb5QVn5ENvyrzSuFKYpnNWz3XKveCyav0 MWeFjUKUMSNN2jkxoTt27cSXmOk1VzRFyqxbmWs9H3AYk3UnoldHyVHYcFtk3Cq47i RvLMVy3fvPRSoEJ5Xw666bjM0UnyzfqINsKexG10= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszc10.qq.com (NewEsmtp) with SMTP id EAE16474; Sun, 06 Feb 2022 11:58:46 +0800 X-QQ-mid: xmsmtpt1644119946t6q804nn2 Message-ID: X-QQ-XMAILINFO: NINNlzGNGuWYEI6ocrpZsuRkTwUWV7ZNcT7kw8pseyXtUp3O9y0+adWji7KjuK EhelMjTqOKvRqXcjhhXSEuX0bMIeUn/1NHY4CLo0RPGGoqn5Y8oBO2Ej18zEUqs8L4dBqjlEAwgM gJlRBwd68uAK7r4vbLKTgZ1ZkhDo8CGoiEX2y5t1emsEMQuGlgGHo5WhzkKDF/+3rT6mdL59OrLM a+Tx48jQ5D9yTiKkOqAuxgBFhzJw2cTXdTVu/JbBwt0qju6BV4ax50t4jiGv1QuXKgjMx9AfJxox 5iJigauR2fhn0U8th/a/knEJeIjvTdGFQoiSaJShR+b7wio7v3JOk6JWYHHfGSqO1eHigUiNeJV/ g+yI+U3WtQ+4YdDyyAjJKCtW8wKVV9pl4o2GJCxGM4bUyhIK3dODEOTTnMQKq0WnitFiBSzVblrb KmY5qKHnguErNj8ancvAiKIw3yEhyfE1ZCZdD97a32cv2/QTNUk4j6x6o/8gFV0p+WkTdBLc4Yjq mFP+JJVjumvmV0+zCoyWFSLSId/nX0xyloHYdj2AMWUvEVXpPm21OaXTJo5L/il1VbraYcgEgKZm MQiWyUPzZH7KSoZFIq84k6FM5cS0vQw7I9t5UINMLDEY3nMOB4Wn2QSaj36/2t4IvKvWa6HGFMW4 Il8T7njSfYkCXU9n5QznL0MPtI72ss0YqlnPdziPGKFlZqUvCde3Gve56JUpXyJBG5y859A147/j 55Jw3p3nTJ+et8OS+Ko1MFFi+qBL8LX9xrVso24QMSntHp65UwFMqZCD6Mhlash1KjuE9fP9l7jb CKM5YVEuBRR3sZ3MH3f7o1Xx6tOR+d3/+hSv2ZBS8xJFOqGuJfeKt9sBk11s/I2Pbwa850dFRzbE gMPbHP09klIZyn3YqepL0qS5YyQ21W1hfj6kyJiQTZgftZeLcWffpfBqAk2i+DdHmFVgv03IRL X-QQ-SPAM: true From: Weiguo Li To: dev@dpdk.org Subject: [PATCH 16/16] pcapng: add define guards to avoid multi-inclusion Date: Sun, 6 Feb 2022 11:58:46 +0800 X-OQ-MSGID: <20220206035846.2840462-16-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220206035846.2840462-1-liwg06@foxmail.com> References: <20220206035846.2840462-1-liwg06@foxmail.com> 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..2e0c0e8cfd 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