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 <roret...@linux.microsoft.com>
---
 examples/ip_pipeline/pipeline.h | 2 --
 examples/ip_pipeline/thread.c   | 2 --
 2 files changed, 4 deletions(-)

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;
-- 
1.8.3.1

Reply via email to