X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Ftimer%2Fmain.c;h=0259022f104e6bd6ced4a6af6dce6a99b7017fa7;hb=ddcd7640ca48a13ac211f356495ec894651b87b4;hp=00c251c409560593f59e55d0795052be29f3254b;hpb=ce6427ddca734aa2aad25ccf385f70f8bcf7e48b;p=dpdk.git diff --git a/examples/timer/main.c b/examples/timer/main.c index 00c251c409..0259022f10 100644 --- a/examples/timer/main.c +++ b/examples/timer/main.c @@ -55,7 +55,7 @@ timer1_cb(__rte_unused struct rte_timer *tim, rte_timer_reset(tim, hz/3, SINGLE, lcore_id, timer1_cb, NULL); } -static __attribute__((noreturn)) int +static __rte_noreturn int lcore_mainloop(__rte_unused void *arg) { uint64_t prev_tsc = 0, cur_tsc, diff_tsc;