[PATCH 02/32] stack: remove use of RTE STD C11 macro

Tyler Retzlaff roretzla at linux.microsoft.com
Sat Aug 12 00:22:17 CEST 2023


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 at linux.microsoft.com>
---
 lib/stack/rte_stack.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/stack/rte_stack.h b/lib/stack/rte_stack.h
index 278a5bd..921d29a 100644
--- a/lib/stack/rte_stack.h
+++ b/lib/stack/rte_stack.h
@@ -78,7 +78,6 @@ struct rte_stack {
 	const struct rte_memzone *memzone;
 	uint32_t capacity; /**< Usable size of the stack. */
 	uint32_t flags; /**< Flags supplied at creation. */
-	RTE_STD_C11
 	union {
 		struct rte_stack_lf stack_lf; /**< Lock-free LIFO structure. */
 		struct rte_stack_std stack_std;	/**< LIFO structure. */
-- 
1.8.3.1



More information about the dev mailing list