]> git.droids-corp.org - dpdk.git/blobdiff - examples/ptpclient/ptpclient.c
replace no-return attributes
[dpdk.git] / examples / ptpclient / ptpclient.c
index 6fcd1aa26eb3669c391f5f15692df2a1e043b750..bfa86eec5a4ae43eb94696e574033cee24777ba7 100644 (file)
@@ -596,7 +596,7 @@ parse_ptp_frames(uint16_t portid, struct rte_mbuf *m) {
  * 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 portid;