X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fperformance-thread%2Fpthread_shim%2Fmain.c;h=18f83059bc17136512a12b05f4a1b470af973eb4;hb=f2fc83b40f06da6a6b2476005279ba52d4ce3c44;hp=03ff394369cd967b3b8004fd176be4972f157fb0;hpb=d0ac7bb577e9d2e2a02abc2b159a486884f0274a;p=dpdk.git diff --git a/examples/performance-thread/pthread_shim/main.c b/examples/performance-thread/pthread_shim/main.c index 03ff394369..18f83059bc 100644 --- a/examples/performance-thread/pthread_shim/main.c +++ b/examples/performance-thread/pthread_shim/main.c @@ -118,7 +118,7 @@ void *helloworld_pthread(void *arg) */ __thread pthread_t tid[HELLOW_WORLD_MAX_LTHREADS]; -static void *initial_lthread(void *args __attribute__((unused))) +static void *initial_lthread(void *args __rte_unused) { int lcore = (int) rte_lcore_id(); /* @@ -204,7 +204,7 @@ static void *initial_lthread(void *args __attribute__((unused))) * in the core mask */ static int -lthread_scheduler(void *args __attribute__((unused))) +lthread_scheduler(void *args __rte_unused) { /* create initial thread */ struct lthread *lt;