X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_mcslock.c;h=ddccaafa92420623c16784528031d9ddced10451;hb=e6cf7bee1c77a0f321cea3494a106bfa5de6f53c;hp=e9359df2eebe749a0ab88c3eae6fe3ec6d21ad14;hpb=7fb1e84570eb61e508a097176a2f5b046d417311;p=dpdk.git diff --git a/app/test/test_mcslock.c b/app/test/test_mcslock.c index e9359df2ee..ddccaafa92 100644 --- a/app/test/test_mcslock.c +++ b/app/test/test_mcslock.c @@ -50,7 +50,7 @@ static unsigned int count; static rte_atomic32_t synchro; static int -test_mcslock_per_core(__attribute__((unused)) void *arg) +test_mcslock_per_core(__rte_unused void *arg) { /* Per core me node. */ rte_mcslock_t ml_me = RTE_PER_LCORE(_ml_me); @@ -148,7 +148,7 @@ test_mcslock_perf(void) * return immediately. */ static int -test_mcslock_try(__attribute__((unused)) void *arg) +test_mcslock_try(__rte_unused void *arg) { /**< Per core me node. */ rte_mcslock_t ml_me = RTE_PER_LCORE(_ml_me);