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 B26FC43038; Sat, 12 Aug 2023 00:24:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A10ED4329C; Sat, 12 Aug 2023 00:23:22 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 2C80F40F16 for ; Sat, 12 Aug 2023 00:23:04 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 11E1E20FD404; Fri, 11 Aug 2023 15:23:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 11E1E20FD404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792583; bh=gsSlIo7L1gpNy8xE4BUKh0f0qlpwba7+hMIRIgPA7Sk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tLKzizly2FPk5UGRypmgdGpas9Ug8PK6kCy5V0jo0kxJkKc543iYLfdS77v1ijSze 8fcsLeoaiHPfM+Bb6jvrRQMC1IWxS6ysht0D5SD2IE4E7D/cwxOKM1XEFr9h4zM02V cfyMit4ph8VMYUls9caIg7RIAI4s6myofWaQhRng= 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 15/32] hash: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:30 -0700 Message-Id: <1691792567-10805-16-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/hash/rte_thash.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/hash/rte_thash.h b/lib/hash/rte_thash.h index 7b1d154..da06cd5 100644 --- a/lib/hash/rte_thash.h +++ b/lib/hash/rte_thash.h @@ -73,7 +73,6 @@ struct rte_ipv4_tuple { uint32_t src_addr; uint32_t dst_addr; - RTE_STD_C11 union { struct { uint16_t dport; @@ -91,7 +90,6 @@ struct rte_ipv4_tuple { struct rte_ipv6_tuple { uint8_t src_addr[16]; uint8_t dst_addr[16]; - RTE_STD_C11 union { struct { uint16_t dport; -- 1.8.3.1