]> git.droids-corp.org - dpdk.git/blobdiff - examples/timer/main.c
common/sfc_efx/base: replace PCI efsys macros with functions
[dpdk.git] / examples / timer / main.c
index 00c251c409560593f59e55d0795052be29f3254b..0259022f104e6bd6ced4a6af6dce6a99b7017fa7 100644 (file)
@@ -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;