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 2BA2643038; Sat, 12 Aug 2023 00:23:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FC094327D; Sat, 12 Aug 2023 00:23:13 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id B1E6A400EF for ; Sat, 12 Aug 2023 00:23:03 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 4C81D20FD0E6; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 4C81D20FD0E6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792582; bh=fIT1D5jaZJPcvoZ7Vm0g3Ph4GF7omBwRDeodgfB23Zw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FPKQkKrosLvAm0j/20AYz2Scm4SaI7/Q5UlGDhq2NdMCANpx0QP3J1dRUzThDVc+w E7J8whH82BEK55y5IAylkZ6zWxbZfLiM9Fwh97SMzB80cFP3SXhUrv1/uoIgHtPFzs T8UPM6dXvkbJUJyf3+Hz5L40k+fVs/6JQTsgQnis= From: Tyler Retzlaff To: dev@dpdk.org Cc: Akhil Goyal , Anatoly Burakov , Andrew Rybchenko , Bruce Richardson , Chengwen Feng , Cristian Dumitrescu , David Hunt , Erik Gabriel Carrillo , Fan Zhang , Ferruh Yigit , Harman Kalra , Hemant Agrawal , Honnappa Nagarahalli , Jerin Jacob , Junfeng Guo , Kevin Laatz , Kiran Kumar K , Konstantin Ananyev , Matan Azrad , Matt Peters , Naga Harish K S V , Nithin Dabilpuram , Olivier Matz , Ori Kam , Radu Nicolau , Sachin Saxena , Sameh Gobriel , Satha Rao , Simei Su , Srikanth Yalavarthi , Steven Webster , Suanming Mou , Sunil Kumar Kori , Thomas Monjalon , Viacheslav Ovsiienko , Vladimir Medvedkin , Yipeng Wang , Zhirun Yan , Tyler Retzlaff Subject: [PATCH 05/32] ring: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:20 -0700 Message-Id: <1691792567-10805-6-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1691792567-10805-1-git-send-email-roretzla@linux.microsoft.com> References: <1691792567-10805-1-git-send-email-roretzla@linux.microsoft.com> 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 C11 conformant compiler is documented as a minimum requirement to build and consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11 features with __extension__ since it is no longer necessary. Signed-off-by: Tyler Retzlaff --- lib/ring/rte_ring_core.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/ring/rte_ring_core.h b/lib/ring/rte_ring_core.h index 82b2370..d1e59bf 100644 --- a/lib/ring/rte_ring_core.h +++ b/lib/ring/rte_ring_core.h @@ -68,7 +68,6 @@ enum rte_ring_sync_type { struct rte_ring_headtail { volatile uint32_t head; /**< prod/consumer head. */ volatile uint32_t tail; /**< prod/consumer tail. */ - RTE_STD_C11 union { /** sync type of prod/cons */ enum rte_ring_sync_type sync_type; @@ -130,7 +129,6 @@ struct rte_ring { char pad0 __rte_cache_aligned; /**< empty cache line */ /** Ring producer status. */ - RTE_STD_C11 union { struct rte_ring_headtail prod; struct rte_ring_hts_headtail hts_prod; @@ -140,7 +138,6 @@ struct rte_ring { char pad1 __rte_cache_aligned; /**< empty cache line */ /** Ring consumer status. */ - RTE_STD_C11 union { struct rte_ring_headtail cons; struct rte_ring_hts_headtail hts_cons; -- 1.8.3.1