replace no-return attributes
[dpdk.git] / examples / l2fwd-cat / l2fwd-cat.c
index 6838f28..45a497c 100644 (file)
@@ -97,7 +97,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)
  * The lcore main. This is the main thread that does the work, reading from
  * an input port and writing to an output port.
  */
-static __attribute__((noreturn)) void
+static __rte_noreturn void
 lcore_main(void)
 {
        uint16_t port;