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 B7AAFA034E; Sun, 6 Feb 2022 04:59:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B2B6D41101; Sun, 6 Feb 2022 04:59:03 +0100 (CET) Received: from out162-62-57-49.mail.qq.com (out162-62-57-49.mail.qq.com [162.62.57.49]) by mails.dpdk.org (Postfix) with ESMTP id EC03B40042 for ; Sun, 6 Feb 2022 04:59:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644119937; bh=WmAaDGeNKhT6tYVk1j5aH1MUnOmEBRhLDKlJ8rxovlo=; h=From:To:Subject:Date:In-Reply-To:References; b=eaB7fDl2godNPJPMmM+CqpwskKlRKu6UPLipTMoX1xw06i8cYiNYdjRj7MZ9B37ES kskG8eySnDEHRlI1YFQ9SMpF3qSpMNCYX0vHnFi1+HLKWdszH88X1JSMq/ECcMB8GW XTGn7kC9FoHr37/W4w8EGgPKRSov6D3wGlYWJ1tw= 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: xmsmtpt1644119936t49ogu52u Message-ID: X-QQ-XMAILINFO: Mb3mLQ2ErcSXoezV//XKCpQnrCVPPV6N7KHge6uUFavO6qkspdqc29qUcP2vBr 7z3tYY+f+kYolBwkDB4VRZG/kqwk5RIZoYHc42fgJOlFDSffDzcJzGTjO4SDh9dxm0IqAvWoZC9o MGn9kmOgPSOXbfehZKOAeUfSyCG8+QdIHhMGSH/V+bFba0fifFzxEmV/+HFcR5NTd7BZ343tn9+0 v7dhyPvaJ5g/ESEo3S3DQm1YjQpqrweBjKbG8jkBg0Nc6oMIJ2a7DfLbg3meRayGt+UDIGdZsy+v /huRTruqGbDxkWFsTxDYIgLKQiggAZwqtDTjG3KengK03BXSOwiAscCSwvN7CDe+ey+k2E5tXJI2 31801aDG241CXiMnynUPJiNi37eBOHHdhQUnrke4T9Ti23K7HTR9G8BYEW3JwoQnp/afuFFo6IPc AEzHavCAZkhU4X2/IrEEmd1nBi7keAswknwm8j2SxQIc7Hfh1AA+TfDkH/B81Z2T+vZ+/jzdwysQ +/ClcKTA2wE8m/n/Gj5TOdxORHVLrTY0jXnomFBa3aVoI+yfI8NlN1gvEyu3jcB/TWBkyUSvbEhC sgs0nbf7CTqXOOf8LsN9C5Qy1U97LOwv8af0ZAPW8JP3ShRlxNEjdyDV7WS5YMiEskdegdKSnrhg OtUZomFdmnzke9mvswy8Qs+fw9mIlW0Ervw+zlCy0eBBj5bAeA2YKHOeyLV9/HYXopPto08wLbKM QiJFcei8XmWP0fLbbdvIrjkQ+/t8tEEWeI510Y6Qbui1+9AbaASnZDJDZ00EuWRkRraRcs0r6weI lsZuFRgJfyGbis2AB7MKEnWzJf0tRzPpEz7dS3X2g0lVIHpxJ7mrZKNYytzkuEErO9EQd6MsLNCx jiV7ST6vO+1Ku8kClhHpU= From: Weiguo Li To: dev@dpdk.org Subject: [PATCH 02/16] event/octeontx: add define guards to avoid multi-inclusion Date: Sun, 6 Feb 2022 11:58:32 +0800 X-OQ-MSGID: <20220206035846.2840462-2-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 --- drivers/event/octeontx/timvf_worker.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/event/octeontx/timvf_worker.h b/drivers/event/octeontx/timvf_worker.h index 3f1e77f1d1..a99ff54245 100644 --- a/drivers/event/octeontx/timvf_worker.h +++ b/drivers/event/octeontx/timvf_worker.h @@ -2,6 +2,9 @@ * Copyright(c) 2017 Cavium, Inc */ +#ifndef __TIMVF_WORKER_H__ +#define __TIMVF_WORKER_H__ + #include #include @@ -443,3 +446,5 @@ timvf_add_entry_brst(struct timvf_ring * const timr, const uint16_t rel_bkt, timr_bkt_dec_lock(bkt); return nb_timers; } + +#endif /* __TIMVF_WORKER_H__ */ -- 2.25.1