]> git.droids-corp.org - dpdk.git/blobdiff - examples/rxtx_callbacks/main.c
replace no-return attributes
[dpdk.git] / examples / rxtx_callbacks / main.c
index 07e95e8d1a96ab3755e20a3fa8e88b33e73470ad..54d124b00bc989e6a1cd5fd9b46e17d30fece195 100644 (file)
@@ -215,7 +215,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)
  * Main thread that does the work, reading from INPUT_PORT
  * and writing to OUTPUT_PORT
  */
  * Main thread that does the work, reading from INPUT_PORT
  * and writing to OUTPUT_PORT
  */
-static  __attribute__((noreturn)) void
+static  __rte_noreturn void
 lcore_main(void)
 {
        uint16_t port;
 lcore_main(void)
 {
        uint16_t port;