[21/32] examples/ipsec-secgw: remove use of RTE STD C11 macro

Message ID 1691792567-10805-22-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>
---
 examples/ipsec-secgw/event_helper.h | 2 --
 examples/ipsec-secgw/flow.c         | 1 -
 2 files changed, 3 deletions(-)
  

Patch

diff --git a/examples/ipsec-secgw/event_helper.h b/examples/ipsec-secgw/event_helper.h
index af5cfcf..dfb81bf 100644
--- a/examples/ipsec-secgw/event_helper.h
+++ b/examples/ipsec-secgw/event_helper.h
@@ -164,7 +164,6 @@  struct eventmode_conf {
 	uint32_t eth_portmask;
 		/**< Mask of the eth ports to be used */
 	union {
-		RTE_STD_C11
 		struct {
 			uint64_t sched_type			: 2;
 		/**< Schedule type */
@@ -213,7 +212,6 @@  struct eh_conf {
 /* Workers registered by the application */
 struct eh_app_worker_params {
 	union {
-		RTE_STD_C11
 		struct {
 			uint64_t burst : 1;
 			/**< Specify status of rx type burst */
diff --git a/examples/ipsec-secgw/flow.c b/examples/ipsec-secgw/flow.c
index 1bcf86c..05a62c3 100644
--- a/examples/ipsec-secgw/flow.c
+++ b/examples/ipsec-secgw/flow.c
@@ -19,7 +19,6 @@  struct flow_rule_entry {
 	uint8_t is_eth;
 	uint8_t is_ipv4;
 	uint8_t is_ipv6;
-	RTE_STD_C11
 	union {
 		struct {
 			struct rte_flow_item_ipv4 spec;