replace no-return attributes
[dpdk.git] / lib / librte_eal / include / rte_debug.h
index 7edd4b8..50052c5 100644 (file)
@@ -69,10 +69,10 @@ void rte_dump_registers(void);
 void __rte_panic(const char *funcname , const char *format, ...)
 #ifdef __GNUC__
 #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2))
-       __attribute__((cold))
+       __rte_cold
 #endif
 #endif
-       __attribute__((noreturn))
+       __rte_noreturn
        __rte_format_printf(2, 3);
 
 #ifdef __cplusplus