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/ipsec-secgw/event_helper.h | 2 -- examples/ipsec-secgw/flow.c | 1 - 2 files changed, 3 deletions(-) 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; -- 1.8.3.1