[22/32] examples/ip_pipeline: remove use of RTE STD C11 macro

Message ID 1691792567-10805-23-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/ip_pipeline/pipeline.h | 2 --
 examples/ip_pipeline/thread.c   | 2 --
 2 files changed, 4 deletions(-)
  

Patch

diff --git a/examples/ip_pipeline/pipeline.h b/examples/ip_pipeline/pipeline.h
index 083d5e8..22f04fd 100644
--- a/examples/ip_pipeline/pipeline.h
+++ b/examples/ip_pipeline/pipeline.h
@@ -211,7 +211,6 @@  struct pipeline *
 struct table_rule_match_acl {
 	int ip_version;
 
-	RTE_STD_C11
 	union {
 		struct {
 			uint32_t sa;
@@ -254,7 +253,6 @@  struct table_rule_match_hash {
 struct table_rule_match_lpm {
 	int ip_version;
 
-	RTE_STD_C11
 	union {
 		uint32_t ipv4;
 		uint8_t ipv6[16];
diff --git a/examples/ip_pipeline/thread.c b/examples/ip_pipeline/thread.c
index 9817657..b46f64b 100644
--- a/examples/ip_pipeline/thread.c
+++ b/examples/ip_pipeline/thread.c
@@ -650,7 +650,6 @@  struct pipeline_msg_req {
 	enum pipeline_req_type type;
 	uint32_t id; /* Port IN, port OUT or table ID */
 
-	RTE_STD_C11
 	union {
 		struct pipeline_msg_req_port_in_stats_read port_in_stats_read;
 		struct pipeline_msg_req_port_out_stats_read port_out_stats_read;
@@ -712,7 +711,6 @@  struct pipeline_msg_rsp_table_rule_time_read {
 struct pipeline_msg_rsp {
 	int status;
 
-	RTE_STD_C11
 	union {
 		struct pipeline_msg_rsp_port_in_stats_read port_in_stats_read;
 		struct pipeline_msg_rsp_port_out_stats_read port_out_stats_read;