X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=app%2Ftest%2Ftest_mempool.c;h=084842fdaa640942e716631ede38a0ecd71a6979;hb=10b71caecbe1cddcbb65c050ca775fba575e88db;hp=c32a5d387d77555ec169ec03f6a8d906664bda52;hpb=b2ca1e1caed22ff23613d3e038d0a82e9755282f;p=dpdk.git diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index c32a5d387d..084842fdaa 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -64,7 +64,7 @@ static rte_atomic32_t synchro; * other bytes are set to 0. */ static void -my_obj_init(struct rte_mempool *mp, __attribute__((unused)) void *arg, +my_obj_init(struct rte_mempool *mp, __rte_unused void *arg, void *obj, unsigned i) { uint32_t *objnum = obj; @@ -291,13 +291,13 @@ static int test_mempool_single_consumer(void) * can run on one lcore only */ static int -test_mempool_launch_single_consumer(__attribute__((unused)) void *arg) +test_mempool_launch_single_consumer(__rte_unused void *arg) { return test_mempool_single_consumer(); } static void -my_mp_init(struct rte_mempool *mp, __attribute__((unused)) void *arg) +my_mp_init(struct rte_mempool *mp, __rte_unused void *arg) { printf("mempool name is %s\n", mp->name); /* nothing to be implemented here*/