]> git.droids-corp.org - dpdk.git/blobdiff - examples/skeleton/basicfwd.c
replace no-return attributes
[dpdk.git] / examples / skeleton / basicfwd.c
index 73d313b84ed1da40a1c645c2954d559fb63d7fc9..72ba85fa1fe5c5bb5fe6483a1b479bd4866a5a10 100644 (file)
@@ -112,7 +112,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;