From patchwork Fri Aug 11 22:22:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Retzlaff X-Patchwork-Id: 130217 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 585C943038; Sat, 12 Aug 2023 00:23:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D62884326C; Sat, 12 Aug 2023 00:23:05 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id EE29D40F16 for ; Sat, 12 Aug 2023 00:23:02 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 0D34F20FD0C5; Fri, 11 Aug 2023 15:23:01 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0D34F20FD0C5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691792582; bh=6FkmY6WwycWTyFLT+MRUzrYMCpRi9kdu+knkFJjBh+A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AqO/SxcLc+y0f1Ll3Et3NZRo6emqtt9vUgLpEQyO3kiHLcDSBkgH11YxIhp/MHdsM SgXbgeQDK/etaXhVYkhJYmxjni24sYYo6hZ1adalq8hj4rGofRVAadPAMgHcmsEUMx Jf9WT9U215y/KdcjkGZjDOVLk7Zjr30sa3q/aeLI= 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 01/32] timer: remove use of RTE STD C11 macro Date: Fri, 11 Aug 2023 15:22:16 -0700 Message-Id: <1691792567-10805-2-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/timer/rte_timer.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/timer/rte_timer.h b/lib/timer/rte_timer.h index c8710c4..d3927d5 100644 --- a/lib/timer/rte_timer.h +++ b/lib/timer/rte_timer.h @@ -64,7 +64,6 @@ enum rte_timer_type { * config) and an owner (the id of the lcore that owns the timer). */ union rte_timer_status { - RTE_STD_C11 struct { uint16_t state; /**< Stop, pending, running, config. */ int16_t owner; /**< The lcore that owns the timer. */