]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/include/rte_debug.h
replace no-return attributes
[dpdk.git] / lib / librte_eal / include / rte_debug.h
index 7edd4b89ccd163060d5306ec06bc85ac23a496c6..50052c5a9042a30928e0a6a6cc4d85f6cdf8655f 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