From 86e744345e2dcf661f222600c6b51a0e64aa9aa6 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 25 Dec 2018 14:55:01 +0000 Subject: [PATCH] Fix build with gcc 6 gcc want _Noreturn to be the first thing in declaration. Signed-off-by: Yuxuan Shui --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.h b/src/utils.h index 777e48c..54302d9 100644 --- a/src/utils.h +++ b/src/utils.h @@ -99,7 +99,7 @@ static inline double attr_const normalize_d(double d) { return normalize_d_range(d, 0.0, 1.0); } -void attr_noret report_allocation_failure(const char *func, const char *file, +attr_noret void report_allocation_failure(const char *func, const char *file, unsigned int line); /**