replace unused attributes
[dpdk.git] / examples / helloworld / main.c
index c922cfb..968045f 100644 (file)
@@ -16,7 +16,7 @@
 #include <rte_debug.h>
 
 static int
-lcore_hello(__attribute__((unused)) void *arg)
+lcore_hello(__rte_unused void *arg)
 {
        unsigned lcore_id;
        lcore_id = rte_lcore_id();