[10/32] net: remove use of RTE STD C11 macro

Message ID 1691792567-10805-11-git-send-email-roretzla@linux.microsoft.com (mailing list archive)
State Accepted, archived
Delegated to: David Marchand
Headers
Series Remove use and definition of RTE_STD_C11 macro |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Tyler Retzlaff Aug. 11, 2023, 10:22 p.m. UTC
  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 <roretzla@linux.microsoft.com>
---
 lib/net/rte_ecpri.h  | 3 ---
 lib/net/rte_higig.h  | 1 -
 lib/net/rte_l2tpv2.h | 2 --
 3 files changed, 6 deletions(-)
  

Patch

diff --git a/lib/net/rte_ecpri.h b/lib/net/rte_ecpri.h
index 73b8a45..137c44f 100644
--- a/lib/net/rte_ecpri.h
+++ b/lib/net/rte_ecpri.h
@@ -66,7 +66,6 @@ 
 /**
  * eCPRI Common Header
  */
-RTE_STD_C11
 struct rte_ecpri_common_hdr {
 	union {
 		rte_be32_t u32;			/**< 4B common header in BE */
@@ -123,7 +122,6 @@  struct rte_ecpri_msg_gen_data {
 /**
  * eCPRI Message Header of Type #4: Remote Memory Access
  */
-RTE_STD_C11
 struct rte_ecpri_msg_rm_access {
 #if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN
 	uint32_t ele_id:16;		/**< Element ID */
@@ -169,7 +167,6 @@  struct rte_ecpri_msg_event_ind {
 /**
  * eCPRI Combined Message Header Format: Common Header + Message Types
  */
-RTE_STD_C11
 struct rte_ecpri_combined_msg_hdr {
 	struct rte_ecpri_common_hdr common;
 	union {
diff --git a/lib/net/rte_higig.h b/lib/net/rte_higig.h
index bba3898..7991f6d 100644
--- a/lib/net/rte_higig.h
+++ b/lib/net/rte_higig.h
@@ -136,7 +136,6 @@  struct rte_higig2_ppt_type1 {
  *
  * higig2 header
  */
-RTE_STD_C11
 struct rte_higig2_hdr {
 	struct rte_higig2_frc fcr;
 	union {
diff --git a/lib/net/rte_l2tpv2.h b/lib/net/rte_l2tpv2.h
index d41123a..9cda347 100644
--- a/lib/net/rte_l2tpv2.h
+++ b/lib/net/rte_l2tpv2.h
@@ -94,7 +94,6 @@ 
 /**
  * L2TPv2 Common Header
  */
-RTE_STD_C11
 struct rte_l2tpv2_common_hdr {
 	union {
 		/** header flags and protocol version */
@@ -218,7 +217,6 @@  struct rte_l2tpv2_msg_without_all_options {
 /**
  * L2TPv2 Combined Message Header Format: Common Header + Options
  */
-RTE_STD_C11
 struct rte_l2tpv2_combined_msg_hdr {
 	struct rte_l2tpv2_common_hdr common; /**< common header */
 	union {