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>
---
 lib/graph/rte_graph.h               | 3 ---
 lib/graph/rte_graph_worker_common.h | 4 ----
 2 files changed, 7 deletions(-)

diff --git a/lib/graph/rte_graph.h b/lib/graph/rte_graph.h
index 7e94c15..eca32a4 100644
--- a/lib/graph/rte_graph.h
+++ b/lib/graph/rte_graph.h
@@ -168,7 +168,6 @@ struct rte_graph_param {
        uint64_t num_pkt_to_capture; /**< Number of packets to capture. */
        char *pcap_filename; /**< Filename in which packets to be captured.*/
 
-       RTE_STD_C11
        union {
                struct {
                        uint64_t rsvd; /**< Reserved for rtc model. */
@@ -192,7 +191,6 @@ struct rte_graph_cluster_stats_param {
        /**< Stats print callback function. NULL value allowed, in that case,
         *   default print stat function used.
         */
-       RTE_STD_C11
        union {
                void *cookie;
                FILE *f; /**< File pointer to dump the stats when fn == NULL. */
@@ -218,7 +216,6 @@ struct rte_graph_cluster_node_stats {
        uint64_t prev_objs;     /**< Previous number of processed objs. */
        uint64_t prev_cycles;   /**< Previous number of cycles. */
 
-       RTE_STD_C11
        union {
                struct {
                        uint64_t sched_objs;
diff --git a/lib/graph/rte_graph_worker_common.h 
b/lib/graph/rte_graph_worker_common.h
index a382459..7d6973c 100644
--- a/lib/graph/rte_graph_worker_common.h
+++ b/lib/graph/rte_graph_worker_common.h
@@ -59,7 +59,6 @@ struct rte_graph {
        uint8_t model;               /**< graph model */
        uint8_t reserved1;           /**< Reserved for future use. */
        uint16_t reserved2;          /**< Reserved for future use. */
-       RTE_STD_C11
        union {
                /* Fast schedule area for mcore dispatch model */
                struct {
@@ -105,7 +104,6 @@ struct rte_node {
        /** Original process function when pcap is enabled. */
        rte_node_process_t original_process;
 
-       RTE_STD_C11
        union {
                /* Fast schedule area for mcore dispatch model */
                struct {
@@ -123,12 +121,10 @@ struct rte_node {
        uint64_t total_cycles;  /**< Cycles spent in this node. */
        uint64_t total_calls;   /**< Calls done to this node. */
        uint64_t total_objs;    /**< Objects processed by this node. */
-       RTE_STD_C11
                union {
                        void **objs;       /**< Array of object pointers. */
                        uint64_t objs_u64;
                };
-       RTE_STD_C11
                union {
                        rte_node_process_t process; /**< Process function. */
                        uint64_t process_u64;
-- 
1.8.3.1

Reply via email to